mirror of
https://gitlab.sectorq.eu/jaydee/omv_backup.git
synced 2025-07-01 07:48:32 +02:00
build
This commit is contained in:
@ -253,11 +253,11 @@ if _RESTORE:
|
||||
if _DATE == "pick":
|
||||
cmnd = f"ssh root@amd.home.lan 'ls {BACKUP_DEVICE}/backup/m-server/docker_data'"
|
||||
status, output = subprocess.getstatusoutput(cmnd)
|
||||
#print(output)
|
||||
print(output)
|
||||
dates = output.splitlines()
|
||||
n = 1
|
||||
for i in dates:
|
||||
logging.info(f"{n} - {i}" )
|
||||
print(f"{n} - {i}" )
|
||||
n += 1
|
||||
|
||||
ans = input("Pick a backup to restore : ")
|
||||
|
Reference in New Issue
Block a user