diff --git a/run-restic.sh b/run-restic.sh index a9022ca..3ec85cb 100755 --- a/run-restic.sh +++ b/run-restic.sh @@ -53,7 +53,7 @@ ARGS="-r $DST --password-file $PW backup --tag $TAG --exclude-file=/restic.exclu # clean up old snapshots 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 +PRUNE="-r $DST --password-file $PW prune" # create a snapshot log "running snapshot" $NICE $CMD $ARGS >> $LOG