zabbix 5 new tables - #23
Conversation
|
Checked that it's the same column set on MySQL too. |
|
Output for Zabbix 5.0.1 on MySQL 8.0: |
|
Is this patch tested for dump and restore? |
|
Backup is working for me. Restore not tested. Dishonor on me, dishonor on my cow. |
|
Backup and restore working fine. |
|
BACKUP RESTORE echo "CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;" | sudo -u postgres psql zabbix gunzip /var/backup/zabbix_cfg_localhost_20200730-1810_db-psql-5.0.1.sql.gz echo "SELECT timescaledb_post_restore();" | sudo -u postgres psql zabbix |
|
Hey all! Thanks a lot for testing and reporting. As soon as I am working with Zabbix again I will merge this. But it will take some more days. |
|
What about replacing all existing (and still existing 😉) from |
|
ok but, i tought that was only a comment, isn't it? it is not used in the code. what is those columns purpose? Lines 418 to 423 in 811d064 |
|
@ironbishop You are right, it is not currently used. |
Yes, but the fact it's only a comment doesn't mean it shouldn't be maintained. |
|
i bumped all tables present in my environment. im currently using 5.0.2 |
|
zabbix 5.2. has a new tables
|
|
We really need support for 5.0. Any estimate when this might be merged? If there are outstanding tasks needing done, e.g. around testing, I'm happy to contribute what I can to that. |
|
@maxhq any updates on this? |
|
@jokay @xray-sky my problem is that I rarely interact with Zabbix these days, do not have a recent version installed and currently have no spare time. |
|
@maxhq thx for the feedback 👍 |
|
I am already maintaining the script for my needs, the fork is npotorino/zabbix-backup ... I do not plan to have a lab with every version installed, so I do not plan to support intermediate versions (x.2 and x.4, for x >=5) unless I'm actively using it in my environment. edit: |
|
I think supporting active LTS version(s) may already work for the most people? |
|
with Zabbix 5.4 I got an error: |
as described in maxhq#23 (comment)
|
@colttt can you please test branch https://github.com/npotorino/zabbix-backup/tree/zabbix-5-4-tables and confirm it's working fine without the "unknown tables" message? |
as described in maxhq#23 (comment)
|
tested on 5.2 and 5.4, good for me 👍 |
|
@ironbishop - new version works zabbix v5.4.6. Thank you, |
|
Hi i created updated version for 6.0 ready, i also fix some issues. https://github.com/hermanekt/zabbix-backup |
|
@hermanekt would you like to add your tables as a PR to https://github.com/npotorino/zabbix-backup |
|
Everybody following here might want to read my comment about the future development. |
Version 0.9.3 doesn't list zabbix 5 new tables, and (on psql/timescaledb) outputs:
Note: this PR contains a version bump.