diff --git a/selfprivacy_api/resources/services/restic.py b/selfprivacy_api/resources/services/restic.py index e44e772..2b93299 100644 --- a/selfprivacy_api/resources/services/restic.py +++ b/selfprivacy_api/resources/services/restic.py @@ -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") )