Ad Widget

Collapse

Migrate Zabbix Database to new Zabbix Server?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SuttonWillow
    Junior Member
    • Mar 2021
    • 1

    #1

    Migrate Zabbix Database to new Zabbix Server?

    Hi,

    I have recently started a new job and taken ownership of my companies Zabbix server (Zabbix V2.4.6 on RHEL 6.10 with MySQL 5.1.73). Before I arrived, a new server (RHEL 8.3 with MySQL 8.0.21) was commissioned to migrate Zabbix onto. My plan was to do a fresh install of Zabbix 5.0 onto the new server, and migrate the existing database over from the old server.omegle xender

    Is this possible? My understanding is that if I complete a fresh install, delete the new database, migrate the old database and then point the upgraded Zabbix to the old database it would perform an upgrade and recognise it.

    Any help would be greatly appreciated.
    Last edited by SuttonWillow; 21-03-2021, 10:22.
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    Yes, since 2.0 Zabbix performs database upgrade automatically. This means, the database has a version and Zabbix server has a version. When Zabbix server starts and connects to the database specified in the configuration file it first reads the database version. If the version is less than expected it performs the database upgrade and if it is successful it starts up. You can follow the database upgrade process in Zabbix server log file. It might take time to do the upgrade, depends on the size of your database. It is recommended to perform the database backup beforehand just in case database upgrade process fails (rare case).

    Comment

    Working...