CentOS are dying soon, CentOS 8 launched on middle 2020 & committed to support till 2029 but dying in 2021. So it is wise migrate from CentOS to Ubuntu before your server get out of support.
The first step to take when performing any potentially destructive step is to create fresh backups. Just because there shouldn’t be a problem doesn’t mean that something unexpected isn’t going to happen. You don’t want to be left in a situation where a command breaks something on your current production machine before the replacement is up and running.
There are a number of different ways to back up your server. Your selection will depend on what options make sense for your scenario and what you are most comfortable with.
If you have access to the physical hardware and a space to backup (disk drive, USB, etc), you can clone the disk using any one of the many image backup solutions available. A functional equivalent when dealing with VPS machines is to take a snapshot or image from within the control panel interface.
Other options often will preserve data and perhaps some of the information about your services. It all depends on which backup mechanism you wish to implement. There are so many different backup options like rsync, import & export mysql / mariadb etc. Choose one that makes sense for your data and system.
Once you have completed backups, you are ready to continue. For the remainder of this guide, we will assume that you are logged into both systems as root.
Thank you reading this article.
Was this helpful?
2 / 5