mirror of
https://gitlab.sectorq.eu/jaydee/omv_backup.git
synced 2025-09-13 12:10:12 +02:00
build
This commit is contained in:
@@ -651,7 +651,7 @@ def backup_job(server):
|
||||
logging.info(f"LALA : {topic}")
|
||||
client.publish(topic, "finished",qos=0, retain=True)
|
||||
client.disconnect()
|
||||
return "finished"
|
||||
#return "finished"
|
||||
|
||||
|
||||
topic = "sectorq/amd/restore"
|
||||
@@ -670,7 +670,7 @@ def backup_job(server):
|
||||
#logging.info(msg)
|
||||
|
||||
send_mqtt_message(topic,msg)
|
||||
continue
|
||||
#continue
|
||||
if is_port_open(s,22):
|
||||
ssh = paramiko.SSHClient()
|
||||
ssh.load_system_host_keys()
|
||||
|
Reference in New Issue
Block a user