Wanted to share a script I wrote for backing up a Zabbix server. It grabs the Zabbix db, config files, and log files, TARs them and transfers the file to a remote windows host for backup. I run this as a cron job every night. In the future I may add a routine to clean up the remote backup folder after a set amount of time (so it will only keep - say - 30 days worth of backups.
Enjoy!
P.S. I'm running an appliance install, so I am not sure where all of the config files may be on a true install. Modify as needed
Enjoy!
P.S. I'm running an appliance install, so I am not sure where all of the config files may be on a true install. Modify as needed