forked from TrueCloudLab/restic
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
|