Fixed pipe path

pull/5/head
Illia Chub 2021-11-16 12:33:17 +02:00
parent 59d251bb77
commit af4907dda5
No known key found for this signature in database
GPG Key ID: 5D3581534C02467A
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class ListAllBackups(Resource):
class AsyncCreateBackup(Resource):
def put(self):
backupCommand = """
restic -r b2:{0}:/sfbackup --verbose backup /var --password-file /var/lib/restic/rpass > tmp/backup.log
restic -r b2:{0}:/sfbackup --verbose backup /var --password-file /var/lib/restic/rpass > /tmp/backup.log
""".format(
request.headers.get("X-Repository-Name")
)