mirror of
https://github.com/restic/restic.git
synced 2025-08-23 18:08:48 +00:00
Merge pull request #2718 from aawsome/new-cleanup-command
Reimplementation of prune
This commit is contained in:
22
changelog/unreleased/pull-2718
Normal file
22
changelog/unreleased/pull-2718
Normal file
@@ -0,0 +1,22 @@
|
||||
Enhancement: Improve pruning performance and make pruning more customizable
|
||||
|
||||
The `prune` command is now much faster. This is especially the case for remote
|
||||
repositories or repositories with not much data to remove.
|
||||
Also the memory usage of the `prune` command is now reduced.
|
||||
|
||||
By default, the `prune` command no longer removes all unused data. This
|
||||
behavior can be fine-tuned by new options, like the acceptable amount of unused space or
|
||||
the maximum size of data to reorganize. For more details, see
|
||||
https://restic.readthedocs.io/en/stable/060_forget.html
|
||||
|
||||
Moreover, `prune` now accepts the `--dry-run` option and `forget --dry-run --prune`
|
||||
also shows what `prune` would do.
|
||||
|
||||
Fixes several open issues, e.g.:
|
||||
https://github.com/restic/restic/issues/1140
|
||||
https://github.com/restic/restic/issues/1985
|
||||
https://github.com/restic/restic/issues/2112
|
||||
https://github.com/restic/restic/issues/2227
|
||||
https://github.com/restic/restic/issues/2305
|
||||
|
||||
https://github.com/restic/restic/pull/2718
|
Reference in New Issue
Block a user