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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user