1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-22 15:57:07 +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

9 lines
443 B
Text

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