From 45a9cc0ba2f0cc6d74fa0ba978459de35ffcaddf Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 27 May 2021 01:25:08 +0300 Subject: [PATCH] borgbackup-etro.bash: add pruning --- bash/borgbackup-etro.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bash/borgbackup-etro.bash b/bash/borgbackup-etro.bash index ad6f32d..ba10bcd 100644 --- a/bash/borgbackup-etro.bash +++ b/bash/borgbackup-etro.bash @@ -6,3 +6,5 @@ borg create ::$(date -Is) /home/bitbot/.bitbot /home/matterbridge/ /home/oragono rm -rf /home/mikaela/backups/ cp -r $BORG_REPO /home/mikaela/backups/ chown -R mikaela:mikaela /home/mikaela/ + +borg prune -v --keep-daily=7 --keep-weekly=4