How to restore or migrate a cPanel account from WHM



Note:
As the steps in this guide require root access, this guide is only designed for VPS and Dedicated Server clients. To migrate a cPanel account on a Reseller or other hosting plan, you can use this guide. To restore accounts, use this guide.


Restore from a file on your computer
Step 1 - Log into WHM and select Restore a Full Backup/cpmove File.

cpaneltransferpic1.png



Step 2 - Note the naming requirements. Your cpmove file should be named like this by default.

cpaneltransferpic2.png




Step 3 - Click Browse, Locate your file on your device, then click Open.

cpaneltransferpic3.png




Step 4 - Click Restore.

Note:If you already have a cPanel account with the same username and you wish to completely overwrite it, select "Overwrite the existing user". Just note this will delete all data in the existing cPanel account.

cpaneltransferpic4.png




Restore from a file on your server

Note: As these steps require logging in via SSH, they are designed for more advanced users. The above option performs the same function but is more straightforward.


Step 1
- Upload the cpmove file to your server. This will need to be done using an SSH client like Putty. We have a guide on logging in via SSH here.

Note the required format for the filename, and the required folder.

cpaneltransferpic2.png




Step 2 - Log into WHM and select Restore a full backup/cpmove file.

cpaneltransferpic1.png




Step 3 - Select Restore with Username, select the backup you wish to restore, then click Restore.

Note: If you already have a cPanel account with the same username and you wish to completely overwrite it, select "Overwrite the existing user". Just note this will delete all data in the existing cPanel account.

cpaneltransferpic5.png




Restore directly from another server

Note: This method is designed for advanced users. It is the fastest migration method as it transfers directly from server to server. However, it does require that you either have root access to the source server or that the cPanel user has root privileges.


Step 1 - Log into WHM and select the Transfer Tool.

cpaneltransferpic6.png




Step 2 - Input the source server's SSH login details. Root will use the root login details while User will use the cPanel login details. Make sure to choose the appropriate root escalation method.

cpaneltransferpic7.png




Step 3 - Note the security warning, select Restricted Restore if you have any security concerns with the source server, and click Fetch Account List. cpaneltransferpic9.png




Step 4 - Select the accounts that you wish to transfer and click Copy.

cpaneltransferpic10.png


Did you find this article useful?