Fixed restic entrypoint command

pull/2/head
Illia Chub 2021-10-25 21:23:42 +03:00
parent 4b39d6e4f9
commit 82821603f1
No known key found for this signature in database
GPG Key ID: 5D3581534C02467A
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ def EnableOcserv():
def ListAllBackups():
backupListingProcessDescriptor = subprocess.Popen(["restic", "-r", "b2:" +
request.headers.get("X-Repository-Name") + ":/sfbackup",
"snapshots", "--password-file", "/var/lib/restic/rpass", "--json"
"snapshots", "list", "--password-file", "/var/lib/restic/rpass", "--json"
])
snapshotsList = backupListingProcessDescriptor.communicate()[0]