Ad Widget

Collapse

Upgrade Zabbix 2.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pc99096
    Senior Member
    • Oct 2011
    • 193

    #61
    why don't you just try to install it from scratch? at least you will learn a little how it works. i have good experience with centos, you have a lot of documentation regarding zabbix install.

    but yes, if you do a "mysqldump", you can then import the DB on another server.

    Comment

    • thomphi
      Member
      • Feb 2014
      • 74

      #62
      Yes, CentOS, debian or Ubuntu whatever...
      I thought that the database Zabbix "appliance" was compatible with only appliance and not debian, ubuntu....

      but can you explain me how I can put the old database in the new zabbix ? Yes, with mysqldump but more precisely ? Please

      Comment

      • pc99096
        Senior Member
        • Oct 2011
        • 193

        #63
        mysqldump -u root -p zabbix > zabbix.sql

        copy to 2nd server

        mysql -u root -p zabbix < zabbix.sql

        Comment

        • thomphi
          Member
          • Feb 2014
          • 74

          #64
          Ok Thank's man!
          I'll test this. But, just an other question. I just need the database? Not other configuration files or something like that ?

          Comment

          • pc99096
            Senior Member
            • Oct 2011
            • 193

            #65
            for the appliance you only need to import the DB.
            if you want to build a new server yourself, you have to do everything - install apache, mysql, download zabbix, "configure, make install" etc

            Comment

            • thomphi
              Member
              • Feb 2014
              • 74

              #66
              Ok because I have lot of hosts, items, and I don't want restart everything

              Comment

              • steveboyson
                Senior Member
                • Jul 2013
                • 582

                #67
                Code:
                wget http://download.opensuse.org/repositories/server:/monitoring/openSUSE_12.3/src/zabbix-2.2.2-1.1.src.rpm
                then "rpmbuild --rebuild zabbix-2.2.2-1.1.src.rpm"

                ---

                For the later:
                - export (old) database via mysqldump
                - copy that export to new system
                - have the new system running (probably empty)
                - stop zabbix-server there
                - cross fingers
                - import the database
                - start zabbix-server
                - check server's log file

                Comment

                • aib
                  Senior Member
                  • Jan 2014
                  • 1615

                  #68
                  just short note: be patient when you exporting AND importing database.
                  it will take hours or days, depend on size of your database.
                  don't jump around - start the importing process before the weekend and take a rest.
                  Sincerely yours,
                  Aleksey

                  Comment

                  • thomphi
                    Member
                    • Feb 2014
                    • 74

                    #69
                    Hello everyone,

                    I have a problem, I tried to do "mysqldump" but, my database zabbix is 520 mo
                    And when I do mysqldump, my file zabbix.sql is 270mo (at 15min mysqldump shutdown)

                    Comment

                    Working...