2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 19:08:55 +00:00
restic/changelog/unreleased/pull-2718

23 lines
978 B
Plaintext
Raw Normal View History

2020-07-19 05:55:14 +00:00
Enhancement: Improve pruning performance and make pruning more customizable
2020-11-03 09:40:34 +00:00
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.
2020-07-19 05:55:14 +00:00
2020-11-03 09:40:34 +00:00
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
2020-07-19 05:55:14 +00:00
https://restic.readthedocs.io/en/stable/060_forget.html
2020-11-03 09:40:34 +00:00
Moreover, `prune` now accepts the `--dry-run` option and `forget --dry-run --prune`
also shows what `prune` would do.
2020-07-19 05:55:14 +00:00
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