aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/backup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/backup.sh b/bin/backup.sh
index 7cf5c87..aa35542 100755
--- a/bin/backup.sh
+++ b/bin/backup.sh
@@ -35,7 +35,7 @@ backup_local() {
echo $(date) "Pruning local repository ..."
borg prune --verbose --stats --list \
- --prefix='{hostname}-{user}-' \
+ --glob-archives='{hostname}-{user}-*' \
--keep-daily 7 \
--keep-weekly 4 \
--keep-monthly 6 $REPOSITORY