mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 16:55:36 +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:
parent
91991988e1
commit
880578da06
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ certain number of old archives::
|
|||
# archives of THIS machine. The '{hostname}-' prefix is very important to
|
||||
# limit prune's operation to this machine's archives and not apply to
|
||||
# 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
|
||||
|
||||
Pitfalls with shell variables and environment variables
|
||||
|
|
Loading…
Reference in a new issue