2
2
mirror of https://github.com/octoleo/restic.git synced 2024-09-28 14:39:01 +00:00
restic/changelog/unreleased/issue-2565
Michael Eischer 50b43fbac0 forget: replace --keep-* -1 with --keep-* unlimited
This ensures consistency with the `prune --max-unused unlimited` option.
2023-07-28 19:21:40 +02:00

10 lines
443 B
Plaintext

Bugfix: Support "unlimited" in `forget --keep-*` options
Restic would forget snapshots that should have been kept when a negative value
was passed to the `--keep-*` options. Negative values are now forbidden. To
keep all snapshots, the special value `unlimited` is now supported. For
example, `--keep-monthly unlimited` will keep all monthly snapshots.
https://github.com/restic/restic/issues/2565
https://github.com/restic/restic/pull/4234