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"