cPanel facilitates completing a full cPanel account along with websites, email accounts, MySQL databases, and all other cPanel settings.
In this article, you will learn about taking the full cPanel backup and restoring it to another cPanel server.
1. Before you generate a full cPanel backup, ensure you have enough free disk space to store the backup file.
2. Now, generate a full cPanel backup by following the below-mentioned steps –
- Log in to your cPanel. [Usually, https://yourdomainname.com:2083].
- Go to Files >> Backup Wizard.
- At the Backup Wizard window, click on the Backup option.
- Click on Full Backup.
- Select the backup destination as Home Directory. You can also select Remote FTP Server and SCP options based on remote server settings.
- Click on Generate Backup to start the backup process.
The backup process may take some time, depending on the size of your cPanel account. Once the backup is taken, download it to your local computer (3rd step shown in the above image).
3. Transfer the generated backup from your shared hosting account to your VPS or dedicated server via FTP.
Here is a Complete FTP guide you can refer to configure your choice of FTP client and upload the backup files.
Before restoring your backup, ensure you have enough free disk space on the destination server. You will need at least three times more space than your backup file, i.e., if you have a 5 GB backup file, you will need at least 15 GB of free space on your server.
4. Once you upload the backup file, move it to the /home directory.
5. Now, log in to WHM.
6. Under the Backup section, select the Restore a Full Backup/cPmove file option.
7. Keep the Restore with Username option checked on the Settings page.
8. Select the uploaded backup file from the drop-down and click the Restore button to start the restore process.
The restoration process may take some time, depending on your account size.
9. When the restoration process gets completed, browse your website with the temporary URL (http://new-server-IP-address/~cpanel-username).
10. If everything works perfectly on the new server, change the nameservers.