aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2022-09-19 19:39:56 +0200
committerÓscar Nájera <hi@oscarnajera.com>2022-09-19 19:39:56 +0200
commit9a019dafab179c68f5715cb0e6b99c76648ce324 (patch)
tree013bfc10e620352977469319c5d132f5a41285a3 /bin
parentd047e0e1ed5e6d634416dc01128c01eb715b07f5 (diff)
downloaddotfiles-9a019dafab179c68f5715cb0e6b99c76648ce324.tar.gz
dotfiles-9a019dafab179c68f5715cb0e6b99c76648ce324.tar.bz2
dotfiles-9a019dafab179c68f5715cb0e6b99c76648ce324.zip
backup update option
Diffstat (limited to 'bin')
-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