Avvisa se server backup non raggiungibile

This commit is contained in:
2026-07-01 12:51:32 +02:00
parent 3573b4c149
commit ad7265183c
8 changed files with 70 additions and 17 deletions

View File

@@ -123,6 +123,9 @@ def migrate_config_data(data: dict[str, Any]) -> bool:
if isinstance(server_check, dict) and int(server_check.get("port", 22)) == 22:
server_check["port"] = 445
changed = True
if isinstance(server_check, dict) and int(server_check.get("interval_seconds", 300)) == 300:
server_check["interval_seconds"] = 600
changed = True
destinations = backup.get("remote_destinations")
if not isinstance(destinations, list):