Avvisa se server backup non raggiungibile
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user