|
|
@ -159,7 +159,7 @@ restic check \
|
|
|
|
##############
|
|
|
|
##############
|
|
|
|
|
|
|
|
|
|
|
|
# Clean up log files older than 14 days
|
|
|
|
# Clean up log files older than 14 days
|
|
|
|
find $LOG_DIR -mtime +"${LOG_RETENTION}" -type f -delete
|
|
|
|
find "${LOG_DIR}" -mtime +"${LOG_RETENTION}" -type f -delete
|
|
|
|
|
|
|
|
|
|
|
|
# End of script message in log
|
|
|
|
# End of script message in log
|
|
|
|
echo > >(tee >(echo "$(ts "%Y-%m-%d_%H:%M:%S") Backup Script Complete" >> "${BACKUP_LOG}"))
|
|
|
|
echo > >(tee >(echo "$(ts "%Y-%m-%d_%H:%M:%S") Backup Script Complete" >> "${BACKUP_LOG}"))
|