Migrate from Ubuntu 22.04 to Debian 12

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
sawdusty
Posts: 26
Joined: Thu Sep 14, 2023 8:14 am

Migrate from Ubuntu 22.04 to Debian 12

Post 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.
sawdusty
Posts: 26
Joined: Thu Sep 14, 2023 8:14 am

Re: Migrate from Ubuntu 22.04 to Debian 12

Post 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.
rowanpierce2
Posts: 1
Joined: Wed Apr 15, 2026 2:20 am

Re: Migrate from Ubuntu 22.04 to Debian 12

Post 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?
sawdusty
Posts: 26
Joined: Thu Sep 14, 2023 8:14 am

Re: Migrate from Ubuntu 22.04 to Debian 12

Post 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.
Post Reply