db-datanommer02: supress warnings from pg_dump
db-datanommer02 uses timescaledb. When you do a pg_dump there's warnings due to this, but according to upstream they are all completely harmless. So, to avoid an email to everyone every day, lets just try and supress these, but yet hopefully not supress real errors if they every occur. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
f5315b3ca4
commit
87671c627b
1 changed files with 4 additions and 0 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue