Question on migration - Upgraded XI5 to clean XI5 install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Question on migration - Upgraded XI5 to clean XI5 install

Post by GldRush98 »

tldr version: Can you import a backup made in a Nagios XI 5 upgrade version (meaning it still uses postgres) to a clean install XI 5 that wouldn't have postgres?

My main XI machine is an aging CentOS5 system. We're in the process of migrating all our things to CentOS6, and this question popped in to my head. My initial idea on upgrading was clean install XI5 on CentOS6, backup the config from our existing XI system, and restore in to the new system.
But I know there is the dealio with the postgres data, so I wasn't sure if this would actually work or not.
I know at the world conference you guys had said you'll eventually have a process to convert those XI 5's with postgres to all mysql like a clean XI 5 system would be and was thinking I might have to wait for that.

Thanks for any insight as always :ugeek:
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Question on migration - Upgraded XI5 to clean XI5 instal

Post by Box293 »

The steps you need to follow to restore your XI 5 backup (which was upgraded from 2014) are:

* Install Nagios XI 2014R2.7 on the new server
* Upgrade this fresh install to XI 5.x
* Restore from the backup

This will ensure the postgres database exists when the restore occurs.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Re: Question on migration - Upgraded XI5 to clean XI5 instal

Post by GldRush98 »

Ok, valuable information. Thank you.
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Question on migration - Upgraded XI5 to clean XI5 instal

Post by jolson »

Let us know if you need any further help! I have performed several upgrades the way that @box293 mentioned, and they've worked well for me.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked