diff --git a/roles/postgresql_server/templates/cron-backup-database b/roles/postgresql_server/templates/cron-backup-database index ce3c52d7d4..f93a80b09e 100644 --- a/roles/postgresql_server/templates/cron-backup-database +++ b/roles/postgresql_server/templates/cron-backup-database @@ -1 +1,5 @@ +{% if inventory_hostname == 'db-datanommer02.iad2.fedoraproject.org' %} +0 0 * * * postgres /usr/local/bin/backup-database {{ item }} | grep -Ev 'warning:|hypertable|chunk|restore|data-only' +{% else %} 0 0 * * * postgres /usr/local/bin/backup-database {{ item }} +{% endif %}