This commit is contained in:
2025-08-26 12:38:36 +02:00
parent ad5e9e698f
commit 9cf123382e

View File

@@ -485,7 +485,7 @@ def backup_job(server):
topic = "sectorq/amd/restore"
msg = {"mode":"restore", "status":"restore","bak_name":"s","host":0,"cur_job":"aaa","start_time":1,"end_time":1,"progress":0,"finished":0,"used_space":0}
send_mqtt_message(topic,msg)
client.publish(topic, msg,qos=0,retain=False)
#client.publish(topic, msg)
topic = "sectorq/amd/backups"
msg = {"mode":_MODE, "status":"started","bak_name":"complete","host":"","cur_job":"","start_time":STARTTIME,"end_time":"in progress","progress":0,"finished":",".join(finished)}
send_mqtt_message(topic,msg)