Cleanup old backups hourly to smooth out disk usage
This commit is contained in:
parent
953c911e82
commit
d0b12db6a0
1 changed files with 1 additions and 1 deletions
|
|
@ -18,4 +18,4 @@
|
||||||
cron:
|
cron:
|
||||||
name: db backup cleanup
|
name: db backup cleanup
|
||||||
job: 'find /opt/postgresbackup/* -mtime +{{ postgresql.backup.keep_days - 1 }} -type f -exec rm {} \;'
|
job: 'find /opt/postgresbackup/* -mtime +{{ postgresql.backup.keep_days - 1 }} -type f -exec rm {} \;'
|
||||||
special_time: daily
|
minute: "21"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue