forked from TrueCloudLab/restic
Merge pull request #3479 from BUFU1610/patch-1
fixed --keep-within-X options in example
This commit is contained in:
commit
c898f7a6bf
1 changed files with 2 additions and 2 deletions
|
@ -331,8 +331,8 @@ irregular backups. For example, the 7 snapshots specified with ``--keep-daily 7`
|
|||
might be spread over a longer period. If what you want is to keep daily snapshots
|
||||
for a week, weekly for a month, monthly for a year and yearly for 75 years, you
|
||||
could specify:
|
||||
``forget --keep-daily-within 7d --keep-weekly-within 1m --keep-monthly-within 1y
|
||||
--keep-yearly-within 75y``
|
||||
``forget --keep-within-daily 7d --keep-within-weekly 1m --keep-within-monthly 1y
|
||||
--keep-within-yearly 75y``
|
||||
(Note that `1w` is not a recognized duration, so you will have to specify
|
||||
`7d` instead)
|
||||
|
||||
|
|
Loading…
Reference in a new issue