Report this

What is the reason for this report?

Restore a cPanel full backup on CentOS to Ubntu

Posted on November 10, 2013
Joe

By Joe

I have a full backup of my web site done on CentOS with cPanel. The backup contain a vBulletin forum which mean there is a MySQL DB in it too.

I am migrating to a Ubuntu server and I want to restore the site from this cPanel backup to it. How I restore such backup to a Ubuntu server and how I reconnect the DB?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

If you already have the cpanel backup tar.gz file it’s pretty straightforward. You can do it ll via a nice gui web interface using VirtualMin’s migrate virtual server function.

  1. Install virtualmin (note you may need to install wget with “yum install wget”)
  1. Go to your new webmin install via your browser - [domain or ip]:10000

  2. In the search bar at the bottom of the menu type: migrate virtual

  3. Click on the migrate virtual server link and follow these instructions.http://www.virtualmin.com/documentation/id,virtualmin_for_cpanel_users/#copying_the_cpanel_backup_to_your_virtualmin_server

I ran into trouble when I tried to have it automatically work out the user/password so give it a user/password and it should work fine.

Have you confirmed that cPanel can run on Ubuntu? Last I heard (which was a loooong time ago), cPanel could only run on CentOS.

I am not going to run cPanel on Ubuntu. The backup was made on cPanel but it is nothing but .tar.gz file which contain the structure of the web site.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.