mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-22 08:46:37 +00:00
Fixed pipe path
This commit is contained in:
parent
59d251bb77
commit
af4907dda5
|
@ -31,7 +31,7 @@ class ListAllBackups(Resource):
|
||||||
class AsyncCreateBackup(Resource):
|
class AsyncCreateBackup(Resource):
|
||||||
def put(self):
|
def put(self):
|
||||||
backupCommand = """
|
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(
|
""".format(
|
||||||
request.headers.get("X-Repository-Name")
|
request.headers.get("X-Repository-Name")
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue