Update 'main.py'

pull/2/head
Illia Chub 2021-10-27 13:30:24 +03:00
parent 1bf4a779af
commit ba2d785ada
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ def EnableOcserv():
def ListAllBackups():
backupListingCommand = '''
restic -r b2:{0}:/sfbackup snapshots list --password-file /var/lib/restic/rpass --json
restic -r b2:{0}:/sfbackup snapshots --password-file /var/lib/restic/rpass --json
'''.format(request.headers.get("X-Repository-Name"))
backupListingProcessDescriptor = subprocess.Popen(backupListingCommand, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)