mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-22 08:46:37 +00:00
Fix restic to hide files instead of deleting
This commit is contained in:
parent
710925f3ea
commit
f24323606f
|
@ -99,6 +99,8 @@ class ResticController:
|
||||||
"""
|
"""
|
||||||
backup_listing_command = [
|
backup_listing_command = [
|
||||||
"restic",
|
"restic",
|
||||||
|
"-o",
|
||||||
|
"rclone.args=serve restic --stdio",
|
||||||
"-r",
|
"-r",
|
||||||
f"rclone:backblaze:{self._repository_name}/sfbackup",
|
f"rclone:backblaze:{self._repository_name}/sfbackup",
|
||||||
"snapshots",
|
"snapshots",
|
||||||
|
@ -141,6 +143,8 @@ class ResticController:
|
||||||
"""
|
"""
|
||||||
initialize_repository_command = [
|
initialize_repository_command = [
|
||||||
"restic",
|
"restic",
|
||||||
|
"-o",
|
||||||
|
"rclone.args=serve restic --stdio",
|
||||||
"-r",
|
"-r",
|
||||||
f"rclone:backblaze:{self._repository_name}/sfbackup",
|
f"rclone:backblaze:{self._repository_name}/sfbackup",
|
||||||
"init",
|
"init",
|
||||||
|
@ -168,6 +172,8 @@ class ResticController:
|
||||||
"""
|
"""
|
||||||
backup_command = [
|
backup_command = [
|
||||||
"restic",
|
"restic",
|
||||||
|
"-o",
|
||||||
|
"rclone.args=serve restic --stdio",
|
||||||
"-r",
|
"-r",
|
||||||
f"rclone:backblaze:{self._repository_name}/sfbackup",
|
f"rclone:backblaze:{self._repository_name}/sfbackup",
|
||||||
"--verbose",
|
"--verbose",
|
||||||
|
@ -238,6 +244,8 @@ class ResticController:
|
||||||
"""
|
"""
|
||||||
backup_restoration_command = [
|
backup_restoration_command = [
|
||||||
"restic",
|
"restic",
|
||||||
|
"-o",
|
||||||
|
"rclone.args=serve restic --stdio",
|
||||||
"-r",
|
"-r",
|
||||||
f"rclone:backblaze:{self._repository_name}/sfbackup",
|
f"rclone:backblaze:{self._repository_name}/sfbackup",
|
||||||
"restore",
|
"restore",
|
||||||
|
|
Loading…
Reference in a new issue