How to Take a Backup of WordPress Site from cPanel?

If you have a website that generates revenue for you every month, then you should be concerned about having a backup of your website. Why? Well, technology is improving every single day. While having a business online means, we can be a victim of online threats anytime. 

Let me share a story with you. When I started my career as a web designer and developer back in 2010, I got a project on a restaurant website situated in the United Kingdom. As a newbie in the industry, he offered me a price that is obviously less than the regular market price. I agreed because I need to create my portfolio.

I have designed his website, he loved it and pay me the money. His website was doing good. His clients and friends liked it. I received a few more clients from there. After one year, he emailed me asked for a backup for his website because his website was hacked and the hacker removes all the files from his cPanel. 

As both of us did not have any backup, I had to create it again for him. I got paid a good amount this time by the way. 

The reason why I am saying it to you is to let you know about the importance of taking a backup of your website.

Anytime you can be a victim of online threats. So, it’s better to be prepared. Now the question is if you don’t know how to take a backup of your WordPress website from cPanel, then what will you do? Will you hire someone to do it or can you do it alone?

Well, here I will show you the way to take a backup manually of your WordPress site from cPanel. It is quite easy. You just need to follow the steps. That’s all.

So, let’s get started.  

Steps of taking backup of your WordPress Website

Before taking a backup of your WordPress site, you have to log in to your cPanel. Then you need to take a backup of your WordPress files and then you need to take a backup of your database.

So, first things first. Taking backup of your WordPress site includes the following steps.

  1. Login to your cPanel
  2. Go to the File manager
  3. Now select and compress to zip the files that have a wp- prefix and index.php, xmlrpc.php.
  4. Select the location where you want to save your backup files.
  5. If it is necessary, rename the zip file.
  6. Download the compressed file.

Now, let’s move on to the backup process of WordPress Database.

  1. Login to your cPanel.
  2. If you know the name of your website’s current database then ok or else visit the file manager and open wp-config. You will find your current database name there.
  3. Go to PHPMyAdmin in cPanel
  4. Go to your desired database and select export. 
  5. While doing the export, compress the files into zip format.
  6. Select go.
  7. Download the zip file.

Taking a backup of your website is easy. You just need to know the steps. You don’t need to hire anyone for this job. But if you don’t have time, you can hire someone for this. But keep in mind, that taking backup is really very important.

I usually take a backup every single month. There are some who take backups every single day. It actually depends on your work when you have to take your backups.