Allow deletion
This commit is contained in:
parent
c492bd08d6
commit
090289eafc
2 changed files with 2 additions and 2 deletions
|
@ -35,6 +35,6 @@ docker exec --user www-data "${base_container}" php occ maintenance:mode --off
|
|||
# Backup cleanup
|
||||
# Only keep 30 days of backups
|
||||
>&2 echo 'Clean up old database backups'
|
||||
find "${BACKUP_DEST}" -name '*sqlbkp*' -type f -mtime +30 -print # -delete
|
||||
find "${BACKUP_DEST}" -name '*sqlbkp*' -type f -mtime +30 -print -delete
|
||||
|
||||
>&2 echo 'Done'
|
||||
|
|
|
@ -31,6 +31,6 @@ done
|
|||
# Backup cleanup
|
||||
# Only keep 30 days of backups, seems about right.
|
||||
>&2 echo 'Cleaning up old database backups'
|
||||
find "${BACKUP_DEST}" -name '*sqlbkp*' -type f -mtime +30 -print # -delete
|
||||
find "${BACKUP_DEST}" -name '*sqlbkp*' -type f -mtime +30 -print -delete
|
||||
|
||||
>&2 echo 'Done'
|
||||
|
|
Loading…
Reference in a new issue