2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/internal/backend
Michael Eischer de0162ea76 backend/retry: Overwrite failed uploads instead of deleting them
For backends which are able to atomically replace files, we just can
overwrite the old copy, if it is necessary to retry an upload. This has
the benefit of issuing one operation less and might be beneficial if a
backend storage, due to bugs or similar, could mix up the order of the
upload and delete calls.
2022-08-21 11:14:53 +02:00
..
azure azure: Strip ? prefix from sas token 2022-07-16 23:55:18 +02:00
b2 b2: Repeat deleting until all file versions are removed 2022-08-21 11:11:00 +02:00
dryrun upgrade_repo_v2: Use atomic replace for supported backends 2022-05-09 22:31:30 +02:00
gs gofmt all files 2022-08-19 19:12:26 +02:00
limiter limiter: move to internal/backend 2022-07-17 13:40:15 +02:00
local backend: Move semaphores to a dedicated package 2022-06-18 10:01:58 +02:00
location Wording: change repo to repository 2022-07-08 20:05:35 +02:00
mem Merge pull request #3795 from greatroar/sema 2022-06-18 17:12:01 +02:00
mock mock: move to internal/backend 2022-07-17 13:40:06 +02:00
rclone limiter: move to internal/backend 2022-07-17 13:40:15 +02:00
rest Merge pull request #3795 from greatroar/sema 2022-06-18 17:12:01 +02:00
s3 s3: Disable multipart uploads below 200MB 2022-08-05 23:48:36 +02:00
sema backend: Move semaphores to a dedicated package 2022-06-18 10:01:58 +02:00
sftp gofmt all files 2022-08-19 19:12:26 +02:00
swift Merge pull request #3470 from MichaelEischer/sanitize-debug-log 2022-07-02 19:00:54 +02:00
test gofmt all files 2022-08-19 19:12:26 +02:00
testdata Moves files 2017-07-23 14:19:13 +02:00
backend_error.go backend: Improve Save() 2018-03-03 15:49:44 +01:00
backend_retry_test.go mock: move to internal/backend 2022-07-17 13:40:06 +02:00
backend_retry.go backend/retry: Overwrite failed uploads instead of deleting them 2022-08-21 11:14:53 +02:00
doc.go Moves files 2017-07-23 14:19:13 +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
layout_default.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
layout_rest.go backend: Only return top-level files for most dirs 2017-12-14 19:14:16 +01:00
layout_s3legacy.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
layout_test.go Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
layout.go all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
paths.go Use config file modes to derive new dir/file modes 2022-04-30 15:59:51 +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 mock: move to internal/backend 2022-07-17 13:40:06 +02:00
utils.go Fix O(n) backend list calls in FindFilteredSnapshots 2022-04-09 12:26:31 +02:00