1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 17:27:31 +00:00

quickstart: use prune with --list

so people are better aware of what's happening, avoiding pitfalls
with wrong or missing --prefix.
This commit is contained in:
Thomas Waldmann 2016-12-19 16:06:54 +01:00 committed by Marian Beermann
parent 91991988e1
commit 880578da06

View file

@ -126,7 +126,7 @@ certain number of old archives::
# archives of THIS machine. The '{hostname}-' prefix is very important to # archives of THIS machine. The '{hostname}-' prefix is very important to
# limit prune's operation to this machine's archives and not apply to # limit prune's operation to this machine's archives and not apply to
# other machine's archives also. # other machine's archives also.
borg prune -v $REPOSITORY --prefix '{hostname}-' \ borg prune -v --list $REPOSITORY --prefix '{hostname}-' \
--keep-daily=7 --keep-weekly=4 --keep-monthly=6 --keep-daily=7 --keep-weekly=4 --keep-monthly=6
Pitfalls with shell variables and environment variables Pitfalls with shell variables and environment variables