1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-23 00:00:04 +01:00
restic/internal
Winfried Plappert 4ffb6f2c55 new implementation of limiting repository size during backup
Changed saveAndEncrypt(...) to include tracking of current size and
raising an error "MaxCapacityExceeded" when the limit has been exceeded.

Added CurrentRepositorySize(ctx) to report current size

Added MaxCapacityExceeded() to query if limit has been execced

Added IsRepositoryLimitActive() to query if size monitoring is active

In addition an interface definition added to fulfill the needs of internal/archiver
for accessing repository functions.

The issue descrition has been updated.
2025-03-02 08:49:14 +00:00
..
archiver repository: restrict SaveUnpacked and RemoveUnpacked 2025-01-13 22:39:57 +01:00
backend feat(backends/s3): add warmup support before repacks and restores (#5173) 2025-02-01 18:26:27 +00:00
bloblru Fix typos 2024-07-03 20:02:06 +02:00
checker repository: restrict SaveUnpacked and RemoveUnpacked 2025-01-13 22:39:57 +01:00
crypto crypto: cleanup ciphertext verification error 2024-06-05 22:33:20 +02:00
debug improve fprintf related error handling 2024-11-01 17:07:43 +01:00
dump Merge pull request #5054 from phillipp/dump-compress-zip 2024-10-16 19:17:47 +00:00
errors errors, fs: Replace CombineErrors with stdlib Join 2024-10-05 10:56:40 +02:00
feature feat(backends/s3): add warmup support before repacks and restores (#5173) 2025-02-01 18:26:27 +00:00
filter move include/exclude options to filter package 2024-08-31 18:04:07 +02:00
fs fix: Windows VSS Event ID 8194 (#5170) 2025-01-26 15:25:38 +00:00
fuse fuse: test that the same fs.Node is used for the same file 2024-09-14 18:11:44 +02:00
migrations repository: restrict SaveUnpacked and RemoveUnpacked 2025-01-13 22:39:57 +01:00
options backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
repository new implementation of limiting repository size during backup 2025-03-02 08:49:14 +00:00
restic tests: add unit test to check the progress counter for forget/prune 2025-02-02 20:18:56 +05:30
restorer feat(backends/s3): add warmup support before repacks and restores (#5173) 2025-02-01 18:26:27 +00:00
selfupdate Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
test use consistent alias for interal/test package 2024-03-29 00:24:03 +01:00
textfile Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
ui ui/termstatus: Remove unused bytes.Buffer 2025-02-01 08:21:40 +01:00
walker ls: proper error handling if output is not possible 2024-11-01 17:07:43 +01:00