Also cleanup the cache on backup
This commit is contained in:
parent
5e91ca7d44
commit
6be10b2648
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue