restoreXI from one server, restore to anther to copy env

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

restoreXI from one server, restore to anther to copy env

Post by kendallchenoweth »

Having developed a Nagios XI environment in QA, I would like to most easily copy it into two new production servers (one active/one inactive). All three environments use a different remote database. It looks like, based on the forum thread below, I can backup QA and then restore it to to the two new environments and the database settings will be undisturbed. In this scenario, would I need to save/restore the ndo2db settings?

http://support.nagios.com/forum/viewtop ... 16&t=32889'

Thanks!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: restoreXI from one server, restore to anther to copy env

Post by ssax »

Restoring will replace the DB settings with the one you backed up so you would want to back up those files and copy them back over once the restore is complete.

You might want to edit the restore_xi.sh script and stop the services from starting at the bottom of it if you do not want it to connect to the other DB at all. Just be aware that it will revert your changes to the script during the restore.

Copy the proper files over and then start the services.
Locked