Added --cleanup-cache as well.
This commit is contained in:
parent
9b9a4afad8
commit
a79f30a1d7
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 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
|
||||
|
|
Loading…
Reference in a new issue