From f253537832ba661ef59e89ee442dbbd961995763 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Fri, 4 Oct 2019 13:04:20 +0200 Subject: [PATCH] Updated purge settings & added vifm directory to ignore list --- restic/.config/restic/exclude.txt | 1 + restic/.local/bin/backup | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/restic/.config/restic/exclude.txt b/restic/.config/restic/exclude.txt index aaf7eaf..16a8249 100644 --- a/restic/.config/restic/exclude.txt +++ b/restic/.config/restic/exclude.txt @@ -1,6 +1,7 @@ /home/alrayyes/.cache /home/alrayyes/.composer /home/alrayyes/.local/share/Zeal +/home/alrayyes/.local/share/vifm /home/alrayyes/mnt /home/alrayyes/music /home/alrayyes/gPodder/Downloads diff --git a/restic/.local/bin/backup b/restic/.local/bin/backup index d714045..fa0ea23 100755 --- a/restic/.local/bin/backup +++ b/restic/.local/bin/backup @@ -2,4 +2,5 @@ . /home/alrayyes/.restic restic backup --exclude-file=/home/alrayyes/.config/restic/exclude.txt /home/alrayyes /etc -restic forget -m 12 -w 4 -d 14 --prune +restic unlock +restic forget -m 6 -w 4 -d 7 --prune