From c93df9b100de4626520122c3d9bc53e008bdfe1b Mon Sep 17 00:00:00 2001 From: Andreas Date: Mon, 29 Aug 2016 20:19:28 +0200 Subject: [PATCH] make the borg backup script more verbose I've forgot to add "-v --stats" to the prune command. Which I wasn't able to see how much data got deleted by the command. --- general/backup/borg-backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/general/backup/borg-backup.sh b/general/backup/borg-backup.sh index 3390642..f770881 100755 --- a/general/backup/borg-backup.sh +++ b/general/backup/borg-backup.sh @@ -5,4 +5,4 @@ export BORG_PASSPHRASE=Password borg create -v --stats ::$(hostname)_$(date -I) /home/andreas/ -borg prune --prefix $(hostname)_201 --keep-daily=7 --keep-weekly=4 --keep-monthly=12 --keep-yearly=1 +borg prune -v --stats --prefix $(hostname)_201 --keep-daily=7 --keep-weekly=4 --keep-monthly=12 --keep-yearly=1