mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 02:48:55 +00:00
fixed --keep-within-X options in example
The order of the words was wrong in the example, i.e. fixed to --keep-within-hourly from --keep-hourly-within.
This commit is contained in:
parent
ecf34783ef
commit
7659790923
@ -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 New Issue
Block a user