2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/internal/backend
Michael Eischer 9e12159230 Fix O(n) backend list calls in FindFilteredSnapshots
When resolving snapshotIDs in FindFilteredSnapshots either
FindLatestSnapshot or FindSnapshot is called. Both operations issue a
list operation to the backend. When for example passing a long list of
snapshot ids to `forget` this could lead to a large number of list
operations.
2022-04-09 12:26:31 +02:00
..
azure azure: check upload using md5 content hash 2021-08-04 22:17:46 +02:00
b2 b2: Successful delete if file does not exist 2021-10-09 23:51:12 +02:00
dryrun Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
gs gs/swift: calculate md5 content hash for upload 2021-08-04 22:17:46 +02:00
local add go:build headers everywhere 2022-03-28 22:23:47 +02:00
location Hide password from repository URLs 2020-09-22 22:00:51 +02:00
mem Simplify cache logic 2021-09-03 21:01:00 +02:00
rclone rclone: Fix timeout calculation 2021-11-07 17:49:33 +01:00
rest rest: Adjust http2 missing eof test to golang >= 1.17.3, >= 1.16.10 2021-11-13 21:57:30 +01:00
s3 s3: Add warning if key ID or secret is empty 2021-10-06 23:13:40 +01:00
sftp sftp: Implement atomic uploads 2022-02-12 20:30:49 +01:00
swift swift: restore context err check for list() 2021-09-24 21:19:46 +02:00
test backends: Remove TestSaveFilenames test 2021-08-15 18:24:16 +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 Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
backend_retry.go retrybackend: Fail operations when context is already canceled 2020-12-28 21:06:47 +01: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 Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
paths.go Moves files 2017-07-23 14:19:13 +02:00
semaphore.go uint cannot be less than zero 2020-09-05 10:07:16 +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 copy/find/ls/recover/stats: Memorize snapshot listing before index 2022-04-09 12:26:30 +02:00
utils.go Fix O(n) backend list calls in FindFilteredSnapshots 2022-04-09 12:26:31 +02:00