mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-16 03:15:41 +00:00
fix small doc bug in prune examples, fix attic #306
--monthly is old/deprecated, --keep-monthly is new way.
This commit is contained in:
parent
ee42ba561f
commit
ff0c264e3e
1 changed files with 2 additions and 2 deletions
|
@ -109,11 +109,11 @@ Examples
|
|||
|
||||
# Keep 7 end of day, 4 additional end of week archives,
|
||||
# and an end of month archive for every month:
|
||||
$ borg prune /mnt/backup --keep-daily=7 --keep-weekly=4 --monthly=-1
|
||||
$ borg prune /mnt/backup --keep-daily=7 --keep-weekly=4 --keep-monthly=-1
|
||||
|
||||
# Keep all backups in the last 10 days, 4 additional end of week archives,
|
||||
# and an end of month archive for every month:
|
||||
$ borg prune /mnt/backup --keep-within=10d --keep-weekly=4 --monthly=-1
|
||||
$ borg prune /mnt/backup --keep-within=10d --keep-weekly=4 --keep-monthly=-1
|
||||
|
||||
|
||||
.. include:: usage/info.rst.inc
|
||||
|
|
Loading…
Reference in a new issue