mirror of
https://github.com/restic/restic.git
synced 2025-02-08 15:36:51 +00:00
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
|
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
|
for a week, weekly for a month, monthly for a year and yearly for 75 years, you
|
||||||
could specify:
|
could specify:
|
||||||
``forget --keep-daily-within 7d --keep-weekly-within 1m --keep-monthly-within 1y
|
``forget --keep-within-daily 7d --keep-within-weekly 1m --keep-within-monthly 1y
|
||||||
--keep-yearly-within 75y``
|
--keep-within-yearly 75y``
|
||||||
(Note that `1w` is not a recognized duration, so you will have to specify
|
(Note that `1w` is not a recognized duration, so you will have to specify
|
||||||
`7d` instead)
|
`7d` instead)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue