From d0b12db6a0afc98fa53f84c96ac3673af5feb87a Mon Sep 17 00:00:00 2001 From: Julian Rother Date: Sun, 8 Dec 2024 00:13:02 +0100 Subject: [PATCH] Cleanup old backups hourly to smooth out disk usage --- tasks/backup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/backup.yml b/tasks/backup.yml index cecf3aa..5252e8a 100644 --- a/tasks/backup.yml +++ b/tasks/backup.yml @@ -18,4 +18,4 @@ cron: name: db backup cleanup job: 'find /opt/postgresbackup/* -mtime +{{ postgresql.backup.keep_days - 1 }} -type f -exec rm {} \;' - special_time: daily + minute: "21"