mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-31 19:52:22 +00:00
update quickstart docs with --match-archives
This commit is contained in:
parent
d527429339
commit
4574ae0178
1 changed files with 6 additions and 6 deletions
|
@ -200,12 +200,12 @@ backed up and that the ``prune`` command is keeping and deleting the correct bac
|
|||
# limit prune's operation to this machine's archives and not apply to
|
||||
# other machines' archives also:
|
||||
|
||||
borg prune \
|
||||
--list \
|
||||
--glob-archives '{hostname}-*' \
|
||||
--show-rc \
|
||||
--keep-daily 7 \
|
||||
--keep-weekly 4 \
|
||||
borg prune \
|
||||
--list \
|
||||
--match-archives 'sh:{hostname}-*' \
|
||||
--show-rc \
|
||||
--keep-daily 7 \
|
||||
--keep-weekly 4 \
|
||||
--keep-monthly 6
|
||||
|
||||
prune_exit=$?
|
||||
|
|
Loading…
Reference in a new issue