Page 1 of 1

Migrate from Ubuntu 22.04 to Debian 12

Posted: Mon Apr 13, 2026 12:19 pm
by sawdusty
I've been told that our Nagios XI server has to migrate from Ubuntu 22.04 to Debian 12. Is it possible to take a snapshot or backup from the application that was running on the Ubuntu server and load it on the Nagios that was installed on the Debian server? Looking for the easiest way to copy all the data and maps that have been built without having to recreate the wheel.

Re: Migrate from Ubuntu 22.04 to Debian 12

Posted: Mon Apr 13, 2026 2:37 pm
by sawdusty
This has been resolved. Steps taken below:
1) Update both servers to the latest Nagiosxi. On the Ubuntu server, I created a backup after the upgrade to 2026R1.3.1
2) After the upgrade on the debian server, I performed a restore using the backup that was just created on the Ubuntu server. This restore completes with errors stating that I'm using a backup from an Ubuntu 22.04 server and loading on a server running Debian 12.
3) Referencing https://assets.nagios.com/downloads/nag ... I-2024.pdf I found in another post on this forum, I downloaded and ran the restrore/repair script.

This fixed worked just fine migrating from Ubuntu 22.4 to Debian 12.

Please close this post.

Re: Migrate from Ubuntu 22.04 to Debian 12

Posted: Wed Apr 15, 2026 2:30 am
by rowanpierce2
Good to know the restore/repair script handled the OS mismatch cleanly. Did you notice any issues with plugins or paths after migration, or was everything intact?

Re: Migrate from Ubuntu 22.04 to Debian 12

Posted: Wed Apr 15, 2026 9:20 am
by sawdusty
The check_icmp script wasn't working correctly so every device I had on our map was yellow. It seemed that all the other status checks were working.