Want To Know How To Backup a WordPress Site? Read this

Last updated on
A WordPress backup is every website owner’s best defense against a malicious hacker.
This can be a lifesaver when unexpected things happen.
When your website broke after installing a faulty plugin or poorly coded theme.
Or, when your WordPress hosting failed or gets corrupted. And all this sort of disaster.
It happened already to many users and this could happen to you, too.
That is why you should not just sit and relax, you need to do something to keep WordPress site secure.
In this article, I share with you how to backup your WordPress site and some of the best backup plugins which you can use so that whatever or whenever this may happen to you, a readily available backup is in place.
Table of Contents

What & Why WordPress Backup Matters?

So, what really is WordPress backup and why it’s ridiculously important?
Let’s face it, most website owners(if not all) put mostly of their time in WordPress maintenance, and in growing it up.
It’s normal and worthy of our time.
For some, starting a blog becomes their source of income.
I know, a lot of bloggers and website owners make use of their blogs to generate enough income.
Like Harsh Agrawal from ShoutMeLoud as an example. Harsh earned $30K+ per month on his popular blogging site. That’s a huge amount of money and surely deserved it.
But, what do you think will happen if suddenly he loses control over his website?
You might guess it! A sudden downtime could lose a big amount of money.
That is why in order to run a website smoothly and confidently, a constant backup is necessary. And not that all, it’s only one part of the WordPress security concern most website owners are facing.
That’s why make sure that you always have a fresh and latest copy of your website. That you have a working backup of your WordPress database and files.
So that whenever a disaster occurs you can easily and quickly restore things back to normal.
In addition, most good web hosting provider now provides with one-click website restoration from their dashboard. A really nice to have so make sure to check them out.
WPEngine is one of these outstanding web hosts that usually takes care of this functionality.

How To Backup a WordPress Site: Overview

Backing up WordPress site comes in different ways but most importantly backup your entire website (WordPress Database and Files).
As you would probably know, WordPress website is composed of your theme, plugin, wp core files, media files, scripts, static files, and pages.
On the other hand, your posts, pages, comments, theme settings, plugin settings, wp users, and links are what included in your database.
Some of the best WordPress hosting companies will provide you automatic backups. So this might be useful if you want to take advantage of your web host resources.
While this method will work for some, others will do the manual backup sort of thing. Or by using some WordPress backup plugin to automatically do a backup and ensure when and how frequently backups occur.
All of these methods of backing up WordPress site works and totally up to you to choose from.
  1. Download automatic backup from your web host
  2. Backup WordPress database using phpMyAdmin
  3. Backup WordPress files via FTP
  4. Backup your WordPress site using a plugin
And whatever method it is, bear in mind that the goal is to have a working backup of the databases and files. So that whenever a problem arises you can easily and smoothly restore your site.

Backing up WordPress Database from phpMyAdmin

Your database is the most valuable part of your website. This contains all the information and usually changes most often depending on how busy your site is.
Thus, it is highly recommended that you should create database backup 2-3 times per week if you constantly change a lot of things on your site.
Luckily, backing up your WordPress database is super easy and simple, and can be done using an admin tool called phpMyAdmin, which is usually available through your web host’s cPanel.
In my case, I am using Bluehost which supports Cpanel. And creating a database backup is pretty simple.
Here are detailed instructions on how to create a database backup using phpMyAdmin.
This process will not take much time to complete. Once done, you have to save the exported SQL file to safer storage.
This can be saved to online storage like – Dropbox, One Drive, or Google Drive. You could even save it to your flash drive or to an external hard drive.
In my case, and in most client projects, I usually organized backup by naming it something like domain_dbbackup_date and save it to Dropbox.
Dropbox is really the best option and my go-to online storage for keeping things. I can have the files readily available anywhere and everywhere as long as I am connected on the web.
You can try it as well to one of your back-ups soon.
Try also to explore other alternatives, there’s a lot of them.

Backing up WordPress Files Manually

Now that you have your database backup. Next up, is your WordPress files.
These files are located in the webroot directory of your server.
Usually, it can be accessed either through an FTP client or via your host’s Cpanel file manager.
We’re going to do both in this guide. But before doing so, here is what included in this directory:
  • wp-admin folder
  • wp-content folder
  • wp-includes folder
  • .htaccess file
  • wp core files
These are the files and folders you need to backup.
But doing so can be time-consuming and needs a lot of space if you have to do at least 2-3 copies of it in the next week or so.
What I normally do instead when going to backup WordPress files, I prioritize the most important one and just leave the rest. Since most of these folders and files can easily be replaced by installing a fresh copy of WordPress except the wp-content folder and wp-config.php file.
Note: You don’t need to backup everything, those other files and folders can be replaced with a fresh copy by downloading the WordPress latest released.
Thus, I make sure to give priority to these files instead to save memory and time.
However, it’s always safer to just back up ALL the files. Just to make sure it would work when you restore it. But then again that totally up to you.
Now that you know what files to backup. The next step is to actually do it. 🙂

Method 1: Backup WordPress Files Using Your Cpanel's File Manager

The first thing you need to do is log in to your web host Cpanel.
Once logged in, go to File Manager under the Files section.
Then, click on it and a dialogue box will appear. In the pop-up, you can select the directory you wish to open.
  • Home Directory – will open exactly to your web host index
  • WebRoot – will open your public_html
  • Document Root for – this will open to the root of any site you select
Select Web Root and put checked next to Show hidden files and click Submit button.
This will take you to a separate window and show the files. Make sure you are in the public_html folder.
Then, look for the wp-content folder, right-click on it and select Compress.
A pop-up will appear which asks you to select a compression type.
Choose from the list of the available compression type.
  • Zip Archive(.zip)
  • Tar archive(.tar)
  • GZiped Tar Archive(.tar.gz)
  • Bzip2ed Tar Archive(.tar.bz2)
In my case, I usually select Zip Archive as a compression type since it is much convenient.
After that, give it a name or you can leave as it is then clicked the Compress file(s) button.
Alternatively, you can select the wp-content folder and just click on the Compress button above. This will do exactly the same on the steps above.
Wait for the archive to finish.
When done, it will create a file called name_you_specify.zip or wp-content.zip within the root folder.
Now, refresh the file manager by clicking the reload icon and look for the .zip file.
Finally, select the zip archive and click on the download icon above.
This could take a bit longer depending on your connection speed and the size of your website.
Don’t forget to delete this file in your root folder to save disk space when the download process is done.
On the other hand, for your wp-config.php file. There is no need to compress it, just hit the download icon above and it will save to your computer.
With both folder and file already downloaded, I suggest to keep it in a safer place.
That’s all there is to it. You now have an updated wp-content and wp-config.php files backup.
The next part is doing the same thing but an alternative resource called FTP.

Method 2: Backup WordPress Files Using an FTP Client

In the previous part, we’ve created a backup using the File Manager.
Now, you’ll learn how to do it using an FTP (File Transfer Protocol) client.
There’s a lot of them but I do recommend using Filezilla since it’s always FREE to use.
If you don’t have it already, you can download it here.
Here’s what you need to get started.
  • an FTP account – you can get this from your web host
  • a working FTP client – Filezilla, highly recommended
Alright, the first thing you need to do is open up Filezilla and connect using your web host FTP credentials.
You’ll see a notice if you are successfully connected to the network.
Now, create a new directory on your desktop (left pane).
All you need to do is right-click Desktop and then select Create directory.
A pop-up will appear. Name it something like domain_wpcotent_backup_date format then click on the OK button.
Now, a new folder will be added to your desktop.
Next, copy the wp-content folder from the public_html directory to the newly created folder on your desktop.
You can do this by right-clicking on the wp-content folder and then select Download.
Or by simply dragging it to the domain_wpcontent_backup_date folder on the left pane.
Finally, do the same process to the wp-config.php file and you’re done!

How Often Should You Backup Your Site?

There is no wrong or right answer to this question to be exact. It really depends on how frequently you made changes to your site.
So, if you’re making frequent changes and do a lot of modifications then daily or weekly backup would be appropriate.
You may also secure at least 4 latest database and WordPress files backups. Again, that would totally be up to you!

Automate Backup Using These Best WordPress Backup Plugins

Even though it’s best to really backup WordPress regularly, doing it daily, weekly, or monthly can be a bit hassle.
But not anymore, there are several free and paid backup plugins for WordPress which can help you automate the process.
Doing an automatic WordPress backup can save you enough time in the long run.
Most of these plugins are fairly easy to use and can be set up or configure in less than 5-minutes.
If you need help installing the plugin, see our step-by-step guide on how to install a WordPress plugin.


BackupBuddy is one of the best premium WordPress backup plugins. With just a few clicks, BackupBuddy backs up your entire WordPress website from within the WordPress dashboard. It allows you to easily schedule daily, weekly, or monthly backups. It can also automatically store your backups in Amazon S3, Dropbox, FTP, Rackspace Cloud, Stash (their cloud service), and email.
In addition, by using their Stash service you can do real-time backups.
Unlike other premium plugins that come with a monthly subscription, BackupBuddy isn’t a subscription-based service, so there is no monthly fee. And it can be used on any website based on your plan.
BackupBuddy not only does back up your WordPress site, but it can also be used to duplicate, migrate and restore websites.
Here’s how you can create an entire WordPress installation backup with the plugin.


UpdraftPlus is a freemium WordPress backup plugin that allows you to create a complete backup of your WordPress site and store it in the cloud or directly on your computer.
Here at WPMakeSite, I use this plugin to backup the site.
With more than 1+ million active installs and over 9.5M+ all-time downloads, UpdraftPlus is undeniably one of the best and most popular WordPress backup plugins.
The plugin also supports scheduled backups. You can also choose which files to backup. It can automatically upload your backups to UpdraftPlus Vault, Amazon S3, Dropbox, Google Drive, OneDrive, FTP and more.
And with the premium version which starts at $70 allows you to use multiple add-ons. You’ll get auto backup, migrate or clone site, database options and more.


BackWPup is a free backup plugin that you can easily download from the plugin repository.
It has more than 700,000+ active installs and nearly 10.7M all-time downloads.
This plugin makes it extremely easy to schedule automatic backups. It also allows you to create complete WordPress backup for free and store it in the cloud, FTP, email, or to your computer.
It also has a Pro version which gives, even more, features including the ability to store backups on Amazon Glacier and Google Drive.


BackupWordPress is a simple yet complete WordPress backup plugin. It allows you to create different schedules for your database and files.
Though this plugin does not allow you to store your WordPress backups to a cloud storage service it is still one of the best options for a free backup plugin.
To date, it has more than 200,000+ active installs and 4.3M+ all-time downloads.
If you want more features like storing backups in the cloud (Amazon S3, Dropbox, Google Drive, Rackspace Cloud and more) then the Pro version starting at $29 is the best option.
Alright, you made it up to this part.

Final Thoughts

Indeed, doing regular backups can save you a lot. And it’s even easier and hassle-free using some best backup plugins.
Some hosting company offers automatic backups but don’t rely on it. It’s always better to create your own backups just before and after making major changes.
How often you do the backup, totally depends on your requirements and ensure your site stays safe.
Have you had difficulty backing up your WordPress site? Let me know in your comments below.
If you liked this article, then please subscribe to my YouTube Channel for WordPress video tutorials. You can also find me on LinkedIn, Facebook, and Twitter.
Our Most Popular Post Right Now!
Disclosure: Some of the links on this site are “affiliate links”, which allow me to earn a small referral payment if you choose to purchase the product or service.

9 Responses

  1. Hey there, thanks for sharing this helpful article on backing up wordpress website. I learn a lot especially doing database backup.

    Can you show us also how to restore my site using the backups?

    I’ll be glad if you could make an article for this soon.

    Thank you so much, Sir. Keep up the good work.

    1. Hi there, Fritzie.

      Thanks for stopping by.

      Glad you found this guide useful. And yes, I’ll do the same thing on restoring WordPress from backup.

      Keep you posted. You might need to subscribe to one of the newsletters to get updated on the post.

      Thank you so much.


    1. Hello, Lokesh.

      Thank you for finding the guide helpful. Have you had any difficulty backup your WordPress site? Let me know.



    1. Hello, Tanmay. Thanks for stopping by and finding the guide useful. It’s my pleasure to help others and share my experience. Keep coming back for more useful articles.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recommended Book: WordPress All-in-One For Dummies
Subscribe to Blog via Email
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
This field is for validation purposes and should be left unchanged.

Don’t worry, we hate spam as much as you do.
Do you need help setting up WordPress?
I can help you with blog and site setup, full website build, performance & security, maintenance and support, and many more.
Recommended Web Hosting