Skip to content
maxhq edited this page Oct 2, 2014 · 24 revisions

What is it?

This is a database backup script for all Zabbix versions from 1.3.1 up to 2.4.0.

The script distincts between configuration and mass data tables. Tables holding configuration data will be fully backuped while for mass data tables only the table schema is stored. This way you have a small backup of your complete configuration and in case of disaster "only" loose your item history.

The script was successfully tested with the following Zabbix versions:

  • 2.4.0
  • 2.0.0

If this script works for you and your Zabbix version isn't listed - please tell me: github@jebecs.de.

Files

zabbix-mysql-backupconf.sh

The Zabbix backup script for MySQL databases.

get-table-list.pl

Helper Perl script that shows all database tables that have ever been used in Zabbix (since 1.3.1). It querys the Zabbix Subversion repository to fetch the informations.

Clone this wiki locally