Skip to content

Commit

Permalink
fixed --keep-within-X options in example
Browse files Browse the repository at this point in the history
The order of the words was wrong in the example, i.e. fixed to --keep-within-hourly from --keep-hourly-within.
  • Loading branch information
BUFU1610 authored and MichaelEischer committed Aug 15, 2021
1 parent ecf3478 commit 7659790
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 7659790

Please sign in to comment.