Upgrade Cloudlinux 7 in place?

Jordz2203

Verified User
Joined
Sep 8, 2022
Messages
75
Hey everyone, wanted to find a bit of information here. With CentOS 7 being end of life. Our Cloudlinux server running Direct Admin needs to be uprgaded. I dont actively maintain this particular server anymore. But wanted to help sort it out. So I have a couple questions and would be great if someone can help:
  1. What is the best version to upgrade to? (We are on Cloudlinux 7.9)
  2. Is it possible to do an in place upgrade? (I saw a cpanel thread saying the cloudlinux script to do it does not work anymore, and I want to avoid downtime and doing a massive migration and fresh install).
 
If you really want to avoid down times, you need to prepare anouther server as new version OS like CL8, ( "CL9" have a little weird problem ) and install everything in their.

After your new server is in ready state, enable maintenance mode in old server to avoid database write/update new data while transfer into new server.

Then use the Admin backup to restore via FTP transfer from the old server.

this will only down times on transfer/restore backup process.
 
You can even do a tranfer/restore of only the user profile and save time to sync the web/email data by rsync. So you can do a sync in the meantime and a final sync and import the databases last. In my experience this creates the least downtime.
 
1. Version 8 is safer for now.
2. You can upgrade directly from 7 to 8. The importances are:
- Backup everything before doing anything.
- Read and make sure you understand everything that the pre-check script gives you.
 
without the website and email data.
Ah oke. So userstuff with rsync and data with the DA backup. No special method with a mysql command. I thought you were using something like that.
In our case biggest content is mostly e-mail. So we backup all accounts and website data without mail and then restore mail with rsync.
 
Back
Top