npotorino / zabbix-backup

Backup script for Zabbix configuration data (MySQL/PostgreSQL)
MIT License
67 stars 30 forks source link

Dump file contains whole posgresql database not only configuration #15

Closed bilbolodz closed 1 year ago

bilbolodz commented 1 year ago

Enviroment: postgresql and timescaledb extension

Without option: "-S public" zabbix-backup dump whole database (including hypertables) not only "configuration tables". Help suggest that's default option so I decided to skip it and it turned out that my backups are growing....

ironbishop commented 1 year ago

yep, linked to #13, i was already using -S public before the change, that's why I didn't notice