Nagios and netbackup.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Nagios and netbackup.

Post 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!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios and netbackup.

Post 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?
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Nagios and netbackup.

Post 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.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios and netbackup.

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked