Ad Widget

Collapse

Disaster Recovery for Zabbix Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adrianl
    Junior Member
    • Jan 2017
    • 1

    #1

    Disaster Recovery for Zabbix Server

    Hi Pros,

    need help on zabbix. My zabbix server crashed and we don't have any zabbix database backup. But we do have a Netbackup file backup of the entire server, are we able to recover Zabbix with it? Please advise on the steps/guides, thanks alot in advance
  • Pada
    Senior Member
    • Apr 2012
    • 236

    #2
    It all depends on what is the most important to you.

    Like in my company the value of historical data is very small, but its very important that we have a high uptime of our Zabbix server and that when we keep on monitoring what we monitored yesterday.

    So we only backup the database tables with the configuration of Zabbix, since its quick and small to backup.
    To restore, we'll basically setup a new Zabbix server from scratch using the same IP/DNS, create the empty schemas with sql files provided by the Zabbix install and then just import our configuration on top of that.

    I would assume that you should be able to restore the entire server from that backup, but I'm not sure how your in-time backup handles the backup of the database files. So you may have a corrupt database if you restore it, but I'm really not sure. I'm no expert in backup and restore of live databases.

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Originally posted by adrianl
      Hi Pros,

      need help on zabbix. My zabbix server crashed and we don't have any zabbix database backup. But we do have a Netbackup file backup of the entire server, are we able to recover Zabbix with it? Please advise on the steps/guides, thanks alot in advance
      One clarification.
      Zabbix server process is stateless and from HA point of view does not need anything than only active/standby solution allowing to move server IP to another physical location and restart serer process bind to server IP.
      In case of securing HA of the DB backend all what you need to use here are standard DB engine techniques like using master->slave pair of the DB engines and promote as new master current slave and rebuilding new slave or in case small databases using even multimaster DB setup.
      Restart of the server after DB recovery is enough to resync buffered data from proxies to fill any gaps of the data not synced from master to slave.
      With such approach all what you need is guarantee that all agents are monitored over proxies leaving only server internal monitoring without proxy.

      With above approach it is possible to gain cheapest and simplest HA setup of the zabbix stack.
      http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
      https://kloczek.wordpress.com/
      zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
      My zabbix templates https://github.com/kloczek/zabbix-templates

      Comment

      Working...