diff --git a/templates/backups-template.sh b/templates/backups-template.sh index 2700a06..1f6b21b 100644 --- a/templates/backups-template.sh +++ b/templates/backups-template.sh @@ -159,7 +159,7 @@ restic check \ ############## # 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 echo > >(tee >(echo "$(ts "%Y-%m-%d_%H:%M:%S") Backup Script Complete" >> "${BACKUP_LOG}")) \ No newline at end of file