nagios xi backup advice needed

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

nagios xi backup advice needed

Post by benhank »

What is the best way to backup Nagios xi without shutting it down?

Also it doesnt seem as if the daily weekly monthly backups or my nagios ix is runnin' .
what do I have to do to get it running?
we changed the sql password, but everything else is the default.
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
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nagios xi backup advice needed

Post by lmiltchev »

If you changed the mysql password, you should edit the "/root/scripts/automysqlbackup" file. Modify the line that says:

Code: Select all

PASSWORD=nagiosxi
by replacing the default password with the new one.

Here is our documentation on backing up Nagios xi:

http://assets.nagios.com/downloads/nagi ... ing_xi.pdf

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: nagios xi backup advice needed

Post by benhank »

thanks ! could you tell me how to start the script that will do the D W M backs that nagios uses or is this the one?
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
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: nagios xi backup advice needed

Post by benhank »

If I change the following line to =yes, is there anything else I will have to add to the script?
where will nagios create the folder?

# Additionally keep a copy of the most recent backup in a seperate directory.
LATEST=no
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
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nagios xi backup advice needed

Post by lmiltchev »

I believe all you need to do is to change:

Code: Select all

LATEST=no
to

Code: Select all

LATEST=yes
# LATEST is to store an additional copy of the latest backup to a standard
# location so it can be downloaded bt thrid party scripts.
After the backup script is run, you should have "latest" added to the standard location (/store/backups/mysql/) you should have "latest" added. (Currently you should have "daily", "monthly", and "weekly").
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: nagios xi backup advice needed

Post by benhank »

thank you!
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
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nagios xi backup advice needed

Post by lmiltchev »

You are welcome!
Be sure to check out our Knowledgebase for helpful articles and solutions!