Changed backup protocol to rclone

This commit is contained in:
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

View file

@ -32,7 +32,7 @@ class ListAllBackups(Resource):
backup_listing_command = [
"restic",
"-r",
f"b2:{repository_name}:/sfbackup",
f"rclone:backblaze:{repository_name}:/sfbackup",
"snapshots",
"--json",
]
@ -72,7 +72,7 @@ class AsyncCreateBackup(Resource):
backup_command = [
"restic",
"-r",
f"b2:{repository_name}:/sfbackup",
f"rclone:backblaze:{repository_name}:/sfbackup",
"--verbose",
"--json",
"backup",