Upgrade Ubuntu version

SYSTEM INFORMATION
OS type and version Ubuntu 24.04
Virtualmin version Latest

Just a quick question. I will transfer our domains to a new VPS. The old one runs on Ubuntu 20.04 and the new one can be installed with Ubuntu 24.04. Is it safe to transfer to the new server? Php version is the same on both. Something else I need to look into?

I would also check if the database server is the same in Ubuntu 20 and 24. Both have mariadb? No MySql in 20?

It has Mariadb 10.03

Learn about some pitfalls here:

I have read that post. I will transfer domain to a new server which hopefully is perhaps easier. And we dont have anything mailrelated on the server, we run a separate pure email server. Thanks for the tip

1 Like

I hope the following lines I write will help you, because the same situation happened to me before and everything is working very normally now.

First, you should not delete/destroy the old VPS, take 30 minutes or 1 hour to backup the file: Virtualmin >> Backup Virtual Servers >> create a new folder containing the backup files and point to it. Here, when performing a system backup, 5 files will be created including 2 important files: virtualmin.tar.gz & yourdomain_.tar.gz

Next, on the new VPS. Please complete the Virtualmin configuration and installation (do not create a new Virtual Server on the new server). Execute Virtualmin >> Restore Virtual Servers >> For Restore source, select Webmin Server, enter the IP of the new server ending with port :10000. Enter Username/Passwords (root). With File on server you can point to the folder where you initially backed up on the old VPS with the 2 important files I mentioned above, for example /root/backup/virtualmin.tar.gz && /root/backup /yourdomain_.tar.gz

Do it one after another for the 2 files with the 2 paths above.

For Features and settings, expand the options and tick them all. >> Show what will be restored and >> inored then restore is complete.

The last thing you need to do is reconfigure DNS to point to a new IP (on Cloudflare or a domain management service provider such as Namecheap,…)

Wish you success!

2 Likes

I have transfered from 20 to 22 before and just used the transfer domain menu in Virtualmin, and that has worked flawless. But ofc I wil make backups, I always do.

1 Like