Page 1 of 1

Offline installation to 5.7 retrieve config from 5.3.3

Posted: Tue Jun 09, 2020 7:42 am
by nms_system_support
Hello,

We want to create a new VM with a fresh installation of RedHat and install Nagios XI 5.7

But we want to import to this new machine the configuration of our existing Nagios Xi 5.3.3 (the RedHat we have now is 6.8)

Is there any procedure to do that?

Thank you in advance.

Re: Offline installation to 5.7 retrieve config from 5.3.3

Posted: Tue Jun 09, 2020 1:55 pm
by jbrunkow
Unfortunately, the offline install for 5.7 has not been released quite yet. Please stay tuned, as it will be released in about a week.

Once you have installed the operating system, you could perform a backup and restore to transport your configuration and settings to the fresh install.

The version of the backup server should match that of the one you will be restoring it to. So, please upgrade to the latest version before creating a backup.

Code: Select all

cd /tmp
tar xzf nagiosxi*.tar.gz
cd nagiosxi
./upgrade
Log in to your current XI system > navigate to the Admin section using the bar on top > click Local Backup Archives under System Backups on the left pane > and then click the Create Backup button on that page.

The backup script is in the following location on your XI server, so you could also run it from the terminal...

Code: Select all

sh /usr/local/nagiosxi/scripts/backup_xi.sh
You will need to download the latest version of XI on an internet connected system.
https://repo.nagios.com/?repo=offline

Then move it to the new offline machine, extract it, and run the install script. This is commonly done from the tmp folder.

Code: Select all

cd /tmp
tar xzf nagiosxi*.tar.gz
cd nagiosxi*
./fullinstall
OFFLINE INSTALL DOCUMENT

Then just copy the backup from the old server to the new one.

Code: Select all

scp -r <username>@<old server IP>:/store/backups/nagiosxi/* <username>@<new server IP>:/store/backups/nagiosxi/.
Finally, restore from that backup.

Code: Select all

/usr/local/nagiosxi/scripts/restore_xi.sh /store/backups/nagiosxi/*.tar.gz
BACKUP & RESTORE DOCUMENT