Merge pull request #3479 from BUFU1610/patch-1

fixed --keep-within-X options in example
This commit is contained in:
MichaelEischer 2021-08-15 20:06:26 +02:00 committed by GitHub
commit c898f7a6bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)