How to Take Backup of WordPress Site from cPanel Manually
Taking a backup of your WordPress site is one of the most crucial tasks. Because when something goes wrong with your site, a
You can backup your WordPress site in many ways. There are lots of best WordPress backup plugins in the market that help to make a full backup. But here I'll show you how to manually backup WordPress site using cPanel.
Why WordPress Backup Is Important
- Any hacker can hack your site and delete or infect your whole data.
- When you edit a file and your site breaks for some reason, then you can restore your site through your backups.
- Need to a backup when you transfer your site from one host to another.
- and more reason...
Keeping in mind the many benefits of backup, let’s start how to backup WordPress site manually.
How to Take Backup of WordPress Site from cPanel
Creating a WordPress backup manually is not a difficult task. A WordPress site has two parts,
- Files - Your WordPress files contain with WP core files, themes, plugins, images etc.
- Database - Your WordPress Database contain posts, comments, users settings.
If you want to create a complete backup of your WordPress site, then you have to back up both files (files and database) which I'm going to tell you here.
Here is a guide how to backup WordPress site manually...
1. First of all, log in to your hosting cPanel then click on File Manager.
2. Go to the Root folder (public_html) and check the Select All, then click on the Compress button.
3. After clicking on Compress button a compression pop-up will open. Here you have to select the Zip Archive and click on the Compress File(s) button.
4. This will start to compress your site file.
5. After compressing, you will see a cgi-bin.zip file in your public_html folder. Just download it to your computer.
Congratulation! You have successfully created a backup of your WordPress site file.
How to Backup WordPress Database Manually
1. First login to your cPanel and click on the phpMyAdmin.
2. After this, select your database in phpMyAdmin and click on the Exporttab.
3. And then click on Go button. In a while, the backup of your database will start downloading.
This way, you can periodically back up your WordPress site from cPanel.
Note: Use a backup plugin to backup your WordPress database. We recommend WP-DB-Backup or UpdraftPlus. So at the time of need, you can restore the database with one click.
How to Restore Your WordPress Site By Backup
You can restore your WordPress site with the backup file at any time that you created in the first step.
Again login to your cPanel and navigate to file manager >> Root folder (public_html). Here you will see an Upload option in
After uploading, extract it. You will see all the files and folder of your website. Now you can delete ZIP file.
Restoring Your Database From Backup Using phpMyAdmin
Go to phpMyAdmin under database section. Select the database you want to import then click on Import and upload your database.
Troubleshooting WordPress Backup Restore Issues
When you restore your site, you may have to face some common issues.
- Error establishing a database connection
- White Screen of Death
- Internal Server Error
- Login Page Redirect or Refresh issue
- Single Posts returning 404 Error
That’s all! If you enjoyed this article and have helped you to
Comments
Post a Comment