Page 1 of 1

nagios xi backup advice needed

Posted: Fri May 25, 2012 10:07 am
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.

Re: nagios xi backup advice needed

Posted: Fri May 25, 2012 10:45 am
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.

Re: nagios xi backup advice needed

Posted: Fri May 25, 2012 11:54 am
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?

Re: nagios xi backup advice needed

Posted: Fri May 25, 2012 12:20 pm
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

Re: nagios xi backup advice needed

Posted: Fri May 25, 2012 1:12 pm
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").

Re: nagios xi backup advice needed

Posted: Fri May 25, 2012 1:16 pm
by benhank
thank you!

Re: nagios xi backup advice needed

Posted: Fri May 25, 2012 1:35 pm
by lmiltchev
You are welcome!