ansible/roles/postgresql_server/templates/cron-backup-database
Kevin Fenzi cf9d0af59a datanommer02: drop warnings from timescaledb on backups
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-03 09:30:11 -07:00

5 lines
336 B
Text

{% if inventory_hostname == 'db-datanommer02.rdu3.fedoraproject.org' %}
0 0 * * * postgres /usr/local/bin/lock-wrapper backup-database "/usr/local/bin/backup-database {{ item }} |& grep -Ev 'warning:|hypertable|chunk|restore|data-only|continuous_agg'"
{% else %}
0 0 * * * postgres /usr/local/bin/backup-database {{ item }}
{% endif %}