cPanel: Migration large data
This tutorial will help you how to migrate cPanel account data to cPanel account data involving large data. Usually we using this method when going to migrate customer data from cPanel to cPanel with ease. In this case, there are some requirements we need to check before able to proceed to the next stage. PLEASE READ THE WHOLE ARTICLE FIRST THEN TRY.
- Check if we had their cPanel login
- Check if we had their SSH root login as well (mandatory)
- Check the source server and destination server carefully
- Don’t forget update / check your Trello
Table of Contents
Login to customer cPanel
Perform full backup (Wizard Pencadangan) and download the file. I would prefer to download it somewhere else other than remote backup. Because sometime remote backup causing data on destination server corrupted (this happen twice on my case).
Alternatively, you can use Outlook server (check email for detail login from Johan) to login > perform full backup > download data. As well upload data to our server.
Example name file backup : backup-12.22.2018_21-56-57_k4120035.tar.gz
Prepare our cPanel server
Now login to our cPanel server and prepare everything.
- Make sure the VPS / Dedicated Server cPanel license is available
- Make sure the hostname is correct and use FQDN name ie. server.kentut.com NOT kentut.com.
- Make sure the VPS is installed cPanel already
- If no cPanel installed, but license is available, can install manually from SSH (how to install cPanel centos7 – proceed to step 2)
Upload the full backup file to our server
When full backup is done performed on customer cPanel, now get it and upload it to our cPanel server and place it to /home directory.
Perform full restore by commence command :
/scripts/restorepkg <backup name>
Example :
/scripts/restorepkg backup-12.22.2018_21-56-57_k4120035.tar.gz
If the customer has already deployed a cPanel account and has their own username and password, we can replace the username as highlighted as bold above. Here is again the format below :
/scripts/restorepkg --skipaccount backup-12.22.2018_21-56-57_username.tar.gz
IMPORTANT NOTES : If the customer in VPS / Dedicated Server, make sure you choose the plan as unlimited. If the customer in shared hosting, then make sure you adjust the plan as WHMCS or customer subscribed to. Always double check your work.
