This commit is contained in:
2025-09-01 10:27:40 +02:00
parent f32ada9ad5
commit b3be50bfdd

View File

@@ -240,7 +240,7 @@ if _STOP:
continue
cmnd = f"docker stop {c.split()[-1]}"
status, running_containers = subprocess.getstatusoutput(cmnd)
def restore_job():
def restore_job(_APP):
logging.info("Starting Restore")
now = datetime.datetime.now()
STARTTIME = now.strftime("%Y-%m-%d_%H:%M:%S")
@@ -703,7 +703,7 @@ def backup_job(server):
if _RESTORE:
restore_job()
restore_job(_APP)
sys.exit()
if _SSH_TEST:
user = "root"