From c23993bdbe96d9ceca73ae9ef10719c6ec319a1f Mon Sep 17 00:00:00 2001 From: Dave Lane Date: Wed, 16 Feb 2022 02:20:58 +0000 Subject: [PATCH] Update run-restic.sh - reduced the number of backups held to avoid filling our disks. --- run-restic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-restic.sh b/run-restic.sh index b0d9b8a..cbee10a 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 7 --keep-weekly 5 --keep-monthly 12 --keep-yearly 7" +CLEAN="-r $DST --password-file $PW forget --prune --tag $TAG --keep-daily 4 --keep-weekly 3 --keep-monthly 6 --keep-yearly 3" # create a snapshot log "running snapshot" $NICE $CMD $ARGS >> $LOG