1
0
Fork 0
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:
Thomas Waldmann 2022-10-03 20:30:34 +02:00
parent d527429339
commit 4574ae0178

View file

@ -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=$?