Page 1 of 1
Transferring config database to another XI server?
Posted: Wed Oct 18, 2017 2:27 pm
by ikekim
I created over 100 hosts and services to be monitored and had groups defined.
What would be the best way to move all my configurations over to an other Nagios XI server?
Should I do backup and restore? Or is there to export and import the config data?
I need to do this because I want to decommission the current XI server(temp server for pilot) and move all the configurations over to a new Nagios XI server(to be prod).
thanks,
ik
Re: Transferring config database to another XI server?
Posted: Wed Oct 18, 2017 2:39 pm
by bolson
The recommended method would be to perform a full backup saved to a network location, commission your new host, install Nagios XI and perform a restore.
Code: Select all
/usr/local/nagiosxi/scripts/backup_xi.sh
/usr/local/nagiosxi/scripts/restore_xi.sh
Re: Transferring config database to another XI server?
Posted: Thu Oct 19, 2017 1:23 pm
by ikekim
I used the backup script and it looks like the Nagios XI that I'm running in Oracle Virtual Box crashed due to RAM shortage.
The VM went into saved state and refuses to start so looks like it is a write off.
Therefore, I started from scratch by importing the Nagios XI ova image , made some configurations and used the backup from the web admin console and it worked okay.
However, I don't see any Restore menu option in the admin page so is there a recovery or restore option using the backed up files in the Admin page?
thanks,
ik.
Re: Transferring config database to another XI server?
Posted: Thu Oct 19, 2017 1:54 pm
by dwasswa
Hi
@ ikekim,
Yes, you can do that on the admin page.
Go to page 4 of 10 of the guide attached below. It will give you proper instructions.
Creating A Backup In The Web Interface
Please let us know if you have any questions.
Re: Transferring config database to another XI server?
Posted: Mon Oct 23, 2017 9:05 am
by ikekim
Thanks dwasswa.
The backup and Restore worked.
I've been using Oracle VirtualBox and importing the OVA image and occasionally ran into VM crashing and not being able to recover which cost me many hours so I learned my lesson here to back things up.
ik
Re: Transferring config database to another XI server?
Posted: Mon Oct 23, 2017 12:13 pm
by dwasswa
Hi
@ikekim,
Am glad that worked for you and also that you learned something in the process.
I am now going to close this topic as resolved.
If you have any questions ,please open up a new thread and we will be happy to help.
Thank you for using the Nagios Support Forum.