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