mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-25 21:41:27 +00:00
Changed backup protocol to rclone
This commit is contained in:
parent
dc56b6f4ad
commit
b201cd6ca2
|
@ -32,7 +32,7 @@ class ListAllBackups(Resource):
|
||||||
backup_listing_command = [
|
backup_listing_command = [
|
||||||
"restic",
|
"restic",
|
||||||
"-r",
|
"-r",
|
||||||
f"b2:{repository_name}:/sfbackup",
|
f"rclone:backblaze:{repository_name}:/sfbackup",
|
||||||
"snapshots",
|
"snapshots",
|
||||||
"--json",
|
"--json",
|
||||||
]
|
]
|
||||||
|
@ -72,7 +72,7 @@ class AsyncCreateBackup(Resource):
|
||||||
backup_command = [
|
backup_command = [
|
||||||
"restic",
|
"restic",
|
||||||
"-r",
|
"-r",
|
||||||
f"b2:{repository_name}:/sfbackup",
|
f"rclone:backblaze:{repository_name}:/sfbackup",
|
||||||
"--verbose",
|
"--verbose",
|
||||||
"--json",
|
"--json",
|
||||||
"backup",
|
"backup",
|
||||||
|
|
Loading…
Reference in a new issue