Ad Widget

Collapse

Migration of zabbix from one server to another new server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ankushssgb
    Junior Member
    • Jun 2018
    • 11

    #1

    Migration of zabbix from one server to another new server

    Hi all,

    I have currently zabbix-2.2.6-1 is installed on CentOS release 6.9 and mysql version is Server version: 5.5.33-cll-lve MySQL Community Server (GPL) by Atomicorp

    So, I want to migrate this zabbix to another server with OS installed on new server is CentOS 7 and zabbix I installed with version zabbix-2.2.21-1 and MySQL installed on
    new server is Server version: 5.6.40 MySQL Community Server (GPL).

    So, can any one help me with the detailed procedure how to migrate zabbix from my current server to new centos 7 server. all details are mentioned above.

  • g3ph4z
    Junior Member
    • May 2018
    • 7

    #2
    Hi,

    first of all, sorry for my bad english.

    This will help you so much:
    Migrating Zabbix with MySQL backend to a new machine - zabbix_migration.md



    and this is as I would do:
    1. Stop the old and new zabbix-server backend
    2. create mysql backup in old server with sqldump (or you can copy the files in fs level and run mysql_upgrade, but I dont recommend this)
    3. import the backup into the new database
    4. run mysql_check for sure
    5. install the new frontend
    6. start the zabbix backend
    7. follow the instructions on frontend


    Comment

    • CarolinaAn
      Junior Member
      • Dec 2022
      • 4

      #3
      can we retrieve the template from the old server?

      Comment


      • anonamoose
        anonamoose commented
        Editing a comment
        Yes, you can export templates from the old and import to the new. I'm not sure there's a way to do it automagically. I've gotten into the habit of prepending all my templates with an organization name. Then it's easy to search for them and export.
    Working...