Update run-restic.sh - reduced the number of backups held to avoid filling our disks.
This commit is contained in:
parent
6662783dc7
commit
c23993bdbe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue