From 6be10b2648a8c1897f1f2b0c58da4bedfcd1e6d5 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Wed, 12 Feb 2020 20:09:22 +0100 Subject: [PATCH] Also cleanup the cache on backup --- restic-cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restic-cron b/restic-cron index a829abf..3785e56 100755 --- a/restic-cron +++ b/restic-cron @@ -22,7 +22,7 @@ export SSH_AUTH_SOCK=/run/user/$UID/keyring/ssh export SSH_AGENT_PID=$(pidof ssh-agent) # Restic settings -RESTIC_BACKUP_OPTIONS="--exclude-file=$HOME/.config/restic/exclude" +RESTIC_BACKUP_OPTIONS="--exclude-file=$HOME/.config/restic/exclude --cleanup-cache" RESTIC_FORGET_OPTIONS="--keep-weekly=4 --keep-monthly=12 --keep-yearly=60" RESTIC_DIR="$HOME" export RESTIC_REPOSITORY="sftp://void//media/Backup/entropy"