borgbackup-etro.bash: add pruning

This commit is contained in:
Aminda Suomalainen 2021-05-27 01:25:08 +03:00
parent c9a06a6567
commit 45a9cc0ba2
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
1 changed files with 2 additions and 0 deletions

View File

@ -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