mirror of
https://github.com/restic/restic.git
synced 2024-12-24 16:54:00 +00:00
9 lines
419 B
Text
9 lines
419 B
Text
Enhancement: Allow keeping a time range of snapshots
|
|
|
|
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
|