Changed backup protocol to rclone

backups-fix
Illia Chub 2021-11-24 07:59:55 +02:00
parent dc56b6f4ad
commit b201cd6ca2
No known key found for this signature in database
GPG Key ID: 5D3581534C02467A
1 changed files with 2 additions and 2 deletions

View File

@ -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",