This commit is contained in:
2025-09-01 10:16:52 +02:00
parent d6492ebf80
commit f32ada9ad5

View File

@@ -651,7 +651,7 @@ def backup_job(server):
logging.info(f"LALA : {topic}") logging.info(f"LALA : {topic}")
client.publish(topic, "finished",qos=0, retain=True) client.publish(topic, "finished",qos=0, retain=True)
client.disconnect() client.disconnect()
return "finished" #return "finished"
topic = "sectorq/amd/restore" topic = "sectorq/amd/restore"
@@ -670,7 +670,7 @@ def backup_job(server):
#logging.info(msg) #logging.info(msg)
send_mqtt_message(topic,msg) send_mqtt_message(topic,msg)
continue #continue
if is_port_open(s,22): if is_port_open(s,22):
ssh = paramiko.SSHClient() ssh = paramiko.SSHClient()
ssh.load_system_host_keys() ssh.load_system_host_keys()