aboutsummaryrefslogtreecommitdiffstats
path: root/arch-system/borgbackup
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2018-07-16 14:57:17 +0200
committerTharre <tharre3@gmail.com>2018-07-16 15:44:16 +0200
commit91fa8c46fb87503cc083f12fea1ed2792992ad64 (patch)
tree3220da11645ea751bfaf291fbc0ac2258270b9ef /arch-system/borgbackup
parent2ef726102dbdeb0c5adbec8f3df981758e961314 (diff)
downloadpkgbuilds-91fa8c46fb87503cc083f12fea1ed2792992ad64.tar.gz
pkgbuilds-91fa8c46fb87503cc083f12fea1ed2792992ad64.tar.xz
pkgbuilds-91fa8c46fb87503cc083f12fea1ed2792992ad64.zip
arch-system: borgbackup: --keep-hourly 24 -> 72
Since borg-prune only keeps the last snapshot of each day with --keep-daily, it's possible that a file that was accidentally deleted is only kept for 24h (if the machine is running) before it's purged from backups. Increase to 72h to give the user a better chance of noticing this in time.
Diffstat (limited to 'arch-system/borgbackup')
-rwxr-xr-xarch-system/borgbackup2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-system/borgbackup b/arch-system/borgbackup
index afada7f..5d6c8b4 100755
--- a/arch-system/borgbackup
+++ b/arch-system/borgbackup
@@ -77,7 +77,7 @@ done
echo "Pruning repository."
borg prune --show-rc --list \
- --keep-hourly 24 \
+ --keep-hourly 72 \
--keep-daily 7 \
--keep-weekly 4 \
--keep-monthly 6