mirror of
https://github.com/restic/restic.git
synced 2024-12-25 09:18:55 +00:00
9 lines
418 B
Text
9 lines
418 B
Text
Enhancement: Allow keeping a time range of snaphots
|
|
|
|
We've added the `--keep-within` option to the `forget` command. It instructs
|
|
restic to keep all snapshots within the given duration since the newest
|
|
snapshot. For example, running `restic forget --keep-within 5m7d` will keep all
|
|
snapshots which have been made in the five months and seven days since the
|
|
latest snapshot.
|
|
|
|
https://github.com/restic/restic/pull/1735
|