Articles on: Wordpress installation and configuration

How to restore a WordPress backup in cPanel

Here are the steps to restore a WordPress backup in cPanel on hosting:
Log into your cPanel account.
Under the "Files" section, click on the "File Manager" icon.
Navigate to the directory where your WordPress site is installed (usually public_html).
Right-click on the folder containing your current WordPress installation and select "Compress" to create a backup zip file of the existing site.
Once the backup is created, you can delete the existing WordPress files/folders from the public_html directory.
Now go back to the cPanel home screen and scroll down to the "Databases" section. Click on the "phpMyAdmin" icon.
In phpMyAdmin, select your WordPress database from the list on the left.
Click on the "Operations" tab at the top, then select "Drop Database" to delete the existing database.
Create a new database for your WordPress site restoration by clicking the "Databases" tab at the top of phpMyAdmin.
Return to the File Manager in cPanel. Upload your WordPress backup zip file to the public_html folder and extract it there.
Import the database backup file by going back to phpMyAdmin > Import tab > Choose the database backup file > Go.
After the database is imported, open a new tab and visit your website's URL. You should see the WordPress installation screen.
Follow the on-screen instructions to complete the WordPress installation using the new database details.
That's it! Your WordPress site from the backup is now restored on hosting. Remember to update your WordPress installation, plugins, and themes for better security.

Updated on: 08/05/2024

Was this article helpful?

Share your feedback


Thank you!