Page 1 of 1

Nagios and netbackup.

Posted: Fri Aug 04, 2017 1:51 pm
by benhank
Hey guys
i have a question regarding backing up nagios with netbackup.
Do you guys have any best practices for backing up nagios with netbackup, or any backup app ,
or is there any documentation that can show me what must be contained in a backup of nagiosxi (excluding and customization we may have done)?
I want to be able to restore xi from within netbackup without having to reinstall it and reconfigure everything.
Thanks!

Re: Nagios and netbackup.

Posted: Fri Aug 04, 2017 2:05 pm
by dwhitfield
We do not have any documentation on netbackup. If you take a look at /usr/local/nagiosxi/scripts/backup_xi.sh you will see everything our backup script backs up, and thus everything our restore script restores.

I'm curious...why not just use the built-in backup and restore feature?

Re: Nagios and netbackup.

Posted: Fri Aug 04, 2017 5:18 pm
by benhank
the answer to your question is this:
I personally know how to restore xi if it dies.We use the script and the script is good and has saved our butts sooo many times. However, if the black smoking hole situation occurs and I am not there then there is going to e a problem. By using netbackup, everything is easier.
I spoke to our 'backup team" and was told that they use netbackups default settings for backing up Linux servers which may not backup everything XI relies upon.
I figured that you guy must back up your servers and perhaps there are files or directories that the script may not cover.

Re: Nagios and netbackup.

Posted: Mon Aug 07, 2017 2:05 pm
by tgriep
Can netbackup take a snapshot of a running MYSQL or Postgres database and restore it to another server?
Can it install software packages on the target server at restore time?
Without the ability to do the above, creating a backup of the files / folders / databases on the source server, won't do much when restoring unless the packages are installed and the databases are created on the target system.

The Nagios Restore script when it is executed, does that for you before reinstalling the data and databases.