aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/borg.sh.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/borg.sh.erb b/templates/borg.sh.erb
index 736ad4f..4c79976 100644
--- a/templates/borg.sh.erb
+++ b/templates/borg.sh.erb
@@ -82,9 +82,11 @@ info "Pruning repository..."
# limit prune's operation to this machine's archives and not apply to
# other machines' archives also:
+# Warning: "--prefix" has been deprecated. Use "--glob-archives 'yourprefix*'" (-a) instead.
+#--prefix '{hostname}-' \
borg prune \
--list \
- --prefix '{hostname}-' \
+ --glob-archives '{hostname}-*' \
--show-rc \
--keep-daily <%= @keepdaily %> \
--keep-weekly <%= @keepweekly %> \