aboutsummaryrefslogtreecommitdiffstats
path: root/arch-system
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
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')
-rw-r--r--arch-system/PKGBUILD2
-rwxr-xr-xarch-system/borgbackup2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch-system/PKGBUILD b/arch-system/PKGBUILD
index 0fcd8ce..9aaaed1 100644
--- a/arch-system/PKGBUILD
+++ b/arch-system/PKGBUILD
@@ -31,7 +31,7 @@ sha256sums=('bb00c42f2802c12536c46700b948d41a43153d97a6986827b7c61203880e1ad1'
'99cd268de0e9b847d65f802e7bcbbf7318398a04db61523545d4002ebdfb4d9c'
'42050ba722df1cd606288e82054e131dac99bf10506f4c8d52eb9bfc0a078d89'
'e1bf3dc5978a7641f86975b7ee770a6914b30a8e4b7e3be2f1b07eaa7098591d'
- '020532911a201bef4777d09291fbd2dde5e91d39c12c30229f4ece6c26397755'
+ 'be7680a72e5b5d4188be8f24e6ceb890c6acd6a281f8a1b992d6e8304902d4bf'
'b9f38ad0731a5b65d49eaacd0fb8cfe051b6ca7ea68496d89919701842183d89')
package_base-system() {
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