2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 12:55:18 +00:00
restic/internal/backend
Michael Eischer 1ccab95bc4 b2: Support file hiding instead of deleting them permanently
Automatically fall back to hiding files if not authorized to permanently
delete files. This allows using restic with an append-only application
key with B2.  Thus, an attacker cannot directly delete backups with the
API key used by restic.

To use this feature create an application key without the deleteFiles
capability. It is recommended to restrict the key to just one bucket.
For example using the b2 command line tool:

    b2 create-key --bucket <bucketName> <keyName> listBuckets,readFiles,writeFiles,listFiles

Suggested-by: Daniel Gröber <dxld@darkboxed.org>
2022-11-05 20:10:45 +01:00
..
azure backend: split layout code into own subpackage 2022-10-21 21:36:05 +02:00
b2 b2: Support file hiding instead of deleting them permanently 2022-11-05 20:10:45 +01:00
dryrun upgrade_repo_v2: Use atomic replace for supported backends 2022-05-09 22:31:30 +02:00
gs backend: split layout code into own subpackage 2022-10-21 21:36:05 +02:00
layout backend: split layout code into own subpackage 2022-10-21 21:36:05 +02:00
limiter limiter: move to internal/backend 2022-07-17 13:40:15 +02:00
local backend: split layout code into own subpackage 2022-10-21 21:36:05 +02:00
location Wording: change repo to repository 2022-07-08 20:05:35 +02:00
mem mem: use cheaper hash for backend 2022-10-15 23:14:33 +02:00
mock mock: move to internal/backend 2022-07-17 13:40:06 +02:00
rclone all: Drop ctxhttp 2022-10-14 14:33:49 +02:00
rest backend: split layout code into own subpackage 2022-10-21 21:36:05 +02:00
retry backend: Split RetryBackend into own package 2022-10-21 21:38:17 +02:00
s3 backend: split layout code into own subpackage 2022-10-21 21:36:05 +02:00
sema backend: Move semaphores to a dedicated package 2022-06-18 10:01:58 +02:00
sftp backend: remove unused Paths variable 2022-10-21 21:36:05 +02:00
swift backend: split layout code into own subpackage 2022-10-21 21:36:05 +02:00
test backend/test: remove duplicate test 2022-10-15 23:15:07 +02:00
testdata Moves files 2017-07-23 14:19:13 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
errdot_119.go rclone/sftp: Improve handling of ErrDot errors 2022-09-25 16:19:03 +02:00
errdot_old.go rclone/sftp: Improve handling of ErrDot errors 2022-09-25 16:19:03 +02:00
foreground_sysv.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
foreground_test.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
foreground_unix.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
foreground_windows.go Fix rclone (scoop shim) and sftp issue due to detached console on Windows 2022-04-03 17:53:17 +08:00
foreground.go Sanitize environment before starting backend processes (rclone, ssh) 2020-11-02 16:41:23 +01:00
http_transport.go Add --insecure-tls flag to disable SSL cert verification 2021-09-21 10:52:40 -04:00
paths.go backend: remove unused Paths variable 2022-10-21 21:36:05 +02:00
readerat.go backend: extract readerat from restic package 2022-07-17 15:29:09 +02:00
shell_split_test.go Refactor SplitShellStrings 2018-04-01 10:16:31 +02:00
shell_split.go Refactor SplitShellStrings 2018-04-01 10:16:31 +02:00
utils_test.go retry key loading on hash mismatch 2022-09-25 11:35:35 +02:00
utils.go retry key loading on hash mismatch 2022-09-25 11:35:35 +02:00