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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hello there,
You can now run cPanel/WHM on Ubuntu which is a great alternative.
This document describes the system requirements for your cPanel & WHM installation on an Ubuntu® server. You can install cPanel & WHM on Ubuntu version 20.04 LTS.
If there is a new product available in the marketplace we will update this thread with the information.
Hope that this helps!
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.
Go to your new webmin install via your browser - [domain or ip]:10000
In the search bar at the bottom of the menu type: migrate virtual
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.
cPanel still does not support Ubuntu. <br> <br>@kylebr: Since it’s basically your website’s files and database dump, you can set up a droplet from scratch and then transfer the files to it. See <a href=“https://www.digitalocean.com/community/articles/how-to-migrate-a-mysql-database-between-two-servers”>https://www.digitalocean.com/community/articles/how-to-migrate-a-mysql-database-between-two-servers</a>