From 47d30b3c5b10812010c25ced00e4b418c37f8aa3 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 28 Oct 2023 12:09:57 +0200 Subject: backup implementation, enhancements and fixes --- .local/bin/backup-prune | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .local/bin/backup-prune (limited to '.local/bin/backup-prune') diff --git a/.local/bin/backup-prune b/.local/bin/backup-prune new file mode 100755 index 0000000..78f5402 --- /dev/null +++ b/.local/bin/backup-prune @@ -0,0 +1,6 @@ +#!/bin/zsh + +source $HOME/.config/borg/.env-backup + +borg -v prune --keep-daily=7 --keep-weekly=4 --keep-monthly=12 :: +borg -v compact :: -- cgit v1.2.3