PDA

View Full Version : Backup of Zabbix


befortin
28-07-2005, 19:45
Hi,

I've just installed and configured Zabbix. I would like to know what you need to do to backup Zabbix :

- Do you need to stop Zabbix Server services during backup?
- Do you need to stop MySQL service during backup?
- Do you need to stop Apache service during backup?

Thanks

mconigliaro
28-07-2005, 20:09
just backup the database. here's what i use:

http://members.lycos.co.uk/wipe_out/automysqlbackup/

Rudolf
29-07-2005, 09:36
The easiest way is to just use the mysqldump command. Of course only for small zabbix databases. I exclude the quite large history and trends tables, because I mainly want to backup the hosts, items, triggers... You should lock the tables during backup. No need to stop any services with mysqldump and lock tables.

I think that's probably the most basic way to backup zabbix. Of course you can also put your backup script in crontab and do whatever you want with it, like uploading to a FTP server or save it to another computer or disk.