Migrating the Uyuni Server to openSUSE Tumbleweed
This page describes a simple, backup-and-restore migration of a Uyuni Server running on openSUSE Leap Micro 5.5 to a fresh host running openSUSE Tumbleweed as the base OS.
1. Overview of the Migration Process
You will:
-
Create a full server backup with
mgradm backupon the openSUSE Leap Micro 5.5 host. -
Reinstall the host with openSUSE Tumbleweed (server profile).
-
Install Uyuni tools and prerequisites on Tumbleweed.
-
Restore the backup with
mgradm backup restore. -
Start services and verify the server.
2. Requirements and Considerations
-
Source server: openSUSE Leap Micro 5.5 running Uyuni (for example: 2026.01).
-
Target server: openSUSE Tumbleweed with the same hostname/FQDN and IP (recommended) to avoid client-side changes.
-
SSH/scp access between machines for transferring the backup tarball.
-
Sufficient free disk space on both source and target for the backup and restore.
|
Restore to the same Uyuni version you backed up, or a version explicitly documented as compatible for restore. If you use development or preview repositories (for example, Uyuni Master), expect changes and re-validate. |
3. Migration Procedure
3.1. Step 1: Create a Backup on the openSUSE Leap Micro 5.5 Server
As root on the old server, create a backup directory and run the backup:
mgradm backup /tmp/uyuni-backupPackage the backup for transfer:
tar -C /tmp -cvf /tmp/uyuni-backup.tar uyuni-backupCopy the backup to a safe location you can reach from the new host:
scp /tmp/uyuni-backup.tar <USER>@<HOST>:/path/to/store/
You can store the backup to external storage or an object store as long as you can fetch it on the new host.
3.2. Step 2: Reinstall the Host with openSUSE Tumbleweed
Reprovision the VM or bare-metal host with openSUSE Tumbleweed.
Choose a basic “server profile” installation.
Set the same hostname/FQDN and IP address as the original server if you want clients to reconnect seamlessly.
3.3. Step 3: Install Uyuni Tools and Prerequisites on Tumbleweed
Add the Uyuni Stable repository and install tools:
zypper ar https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable/images/repo/Uyuni-Server-POOL-x86_64-Media1 uyuni-server-stable zypper ref zypper in mgradm mgrctl mgradm-bash-completion mgrctl-bash-completion uyuni-storage-setup-serverInstall Podman if it was not automatically pulled in:
zypper in podman
The package
uyuni-storage-setup-serverprovides themgr-storage-servertool for preparing persistent volumes. Installingpodmanexplicitly may be necessary on some installations.
3.4. Step 4: Optional - Prepare Persistent Storage
It is recommended to configure persistent storage with
mgr-storage-serverto avoid container full-disk issues.mgr-storage-server <storage-disk-device> [<database-disk-device>]
Devices must be raw (no existing filesystem). The tool creates volumes at
/var/lib/containers/storage/volumes.For details, see:
3.5. Step 5 Fetch and Restore the Backup on Tumbleweed
Copy the backup to the new server and unpack it:
scp <USER>@<HOST>:/path/to/store/uyuni-backup.tar /tmp/ tar -C /tmp -xvf /tmp/uyuni-backup.tarRestore using
mgradm(point to the extracted backup directory):mgradm backup restore /tmp/uyuni-backup
3.6. Step 6: Start Services and Verify
-
Start the server services:
mgradm start -
Verify:
-
Check that all containers are up:
mgrctl psorpodman ps. -
Access the Web UI (HTTPS) and log in.
-
Review logs for errors:
mgrctl logs serverand other components as needed.
-
4. Notes and Troubleshooting
-
If Podman wasn’t installed automatically, install it with
zypper in podmanand rerun the restore/start steps. -
Ensure the target host has the same time, hostname, and IP configuration expected by your setup (especially if clients exist).
-
For large environments, ensure adequate disk throughput and space. The backup and restore can take a long time.
|
If the restore fails or the new system cannot start, you can still boot the original openSUSE Leap Micro 5.5 system and continue service. Keep the original VM/snapshots until you fully validate the new Tumbleweed-based server. |