Skip to content

Commit

Permalink
Merge pull request restic#3479 from BUFU1610/patch-1
Browse files Browse the repository at this point in the history
fixed --keep-within-X options in example
  • Loading branch information
MichaelEischer authored Aug 15, 2021
2 parents ecf3478 + 7659790 commit c898f7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/060_forget.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c898f7a

Please sign in to comment.