diff --git a/run-restic.sh b/run-restic.sh index 109908b..a9022ca 100755 --- a/run-restic.sh +++ b/run-restic.sh @@ -51,7 +51,7 @@ fi # run the snapshot ARGS="-r $DST --password-file $PW backup --tag $TAG --exclude-file=/restic.excludes --files-from /restic.files" # clean up old snapshots -CLEAN="-r $DST --password-file $PW forget --prune --tag $TAG --keep-daily 4 --keep-weekly 3 --keep-monthly 6 --keep-yearly 3" +CLEAN="-r $DST --password-file $PW forget --prune --cleanup-cache --tag $TAG --keep-daily 4 --keep-weekly 3 --keep-monthly 6 --keep-yearly 3" # prune 'forgotten' snapshots PRUNE="-r $DST --password-file $PW prune # create a snapshot