Hello,
Prior to upgrading to Zabbix 7.4 it is recommended to backup the database. The documentation does not provide the steps to backup the database. I'm using MySQL v8.0.37. I'm not a DB admin, how do I accomplish this?
- Is this as simple as performing one of the following?
- Also, do all application processes need to be shutdown prior to performing the database backup?
mysqldump -u zabbix -p --databases zabbix > zabbix_dump_file.sql
mysqldump -u zabbix -p --all-databases > zabbix_dump_file.sql
Thanks in advance for any feedback!
=-=-=-=-=-=-=-=-=-=
2 Back up database
Back up your existing Zabbix database to safeguard against upgrade failures (for example, disk space issues, power loss, or unexpected problems).
Prior to upgrading to Zabbix 7.4 it is recommended to backup the database. The documentation does not provide the steps to backup the database. I'm using MySQL v8.0.37. I'm not a DB admin, how do I accomplish this?
- Is this as simple as performing one of the following?
- Also, do all application processes need to be shutdown prior to performing the database backup?
mysqldump -u zabbix -p --databases zabbix > zabbix_dump_file.sql
mysqldump -u zabbix -p --all-databases > zabbix_dump_file.sql
Thanks in advance for any feedback!
=-=-=-=-=-=-=-=-=-=
2 Back up database
Back up your existing Zabbix database to safeguard against upgrade failures (for example, disk space issues, power loss, or unexpected problems).
So yes, shut it down beforehand, you have to do it anyway, if you upgrade. And yes. doing a backup is as you say, it shoudl be quite enough to do backup of Zabbix DB and leave others out.. As you say, you are not a DBA, I would suggest to play around in dev/test env first and learn how to dump and restore from that dump...
Comment