commented out the prune command
This commit is contained in:
@@ -66,7 +66,7 @@ fi
|
|||||||
restic --cleanup-cache --verbose backup ${BACKUPS} >> ${LOGFILE} 2>&1
|
restic --cleanup-cache --verbose backup ${BACKUPS} >> ${LOGFILE} 2>&1
|
||||||
|
|
||||||
# prune the backup
|
# prune the backup
|
||||||
restic --verbose forget --keep-daily 7 --keep-weekly 5 --keep-monthly 12 --keep-yearly 75 --prune >> ${LOGFILE} 2>&1
|
#restic --verbose forget --keep-daily 7 --keep-weekly 5 --keep-monthly 12 --keep-yearly 75 --prune >> ${LOGFILE} 2>&1
|
||||||
|
|
||||||
# copy the backup to offsite but only if the backup id as passed in
|
# copy the backup to offsite but only if the backup id as passed in
|
||||||
if [ "${1}" == "--copyOffsite" ] || [ "${1}" == "-c" ]; then
|
if [ "${1}" == "--copyOffsite" ] || [ "${1}" == "-c" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user