Cleanup old backups hourly to smooth out disk usage

This commit is contained in:
Julian Rother 2024-12-08 00:13:02 +01:00
parent 953c911e82
commit d0b12db6a0
No known key found for this signature in database
GPG key ID: 8F9B6AE9BAAE4899

View file

@ -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"