mirror of
https://github.com/restic/restic.git
synced 2024-12-22 15:57:07 +00:00
50b43fbac0
This ensures consistency with the `prune --max-unused unlimited` option.
9 lines
443 B
Text
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
|