During a hosting migration, it is common to transfer data from a server using Plesk to one running on cPanel. Since these two control panels use different backup formats, the import process cannot be automated and often requires manual handling.
Below are the detailed steps to follow in order to complete this import:
- Backup of data on Plesk :
First, you need to perform a data backup from the Plesk management interface. To do this, here is an article that will guide you through the process : How to backup and restore data in Plesk ?
- Restoration of data on cPanel :
After backing up your data on Plesk, you need to perform the following steps to restore your backup :
1.Restoring website files:
Upload your backup directly via the File Manager cPanel > FILES > File Manager, then transfer the files from the httpdocs folder to the public_html directory.
2.Database restoration :
From cPanel > DATABASES, click on Manage My Databases to create a database. The following guide will walk you through the steps: How to create a MySQL database on cPanel?
Then, to import the saved database, go to cPanel > DATABASES > phpMyAdmin > Import. Select the file to import from the backup folder databases > database_name and click Import.
3.Modifying the wp-config.php file:
Finally, you need to update the connection settings in the wp-config.php file by replacing the old database name, username, and password with the new ones you have just created.