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.
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.
So, what really is WordPress backup and why it’s ridiculously important?
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.
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.
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.
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.
This process will not take much time to complete. Once done, you have to save the exported SQL file to safer storage.
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.
Now that you have your database backup. Next up, is your WordPress files.
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:
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. 🙂
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.
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.
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.
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.
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.
Here’s what you need to get started.
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!
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!
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.
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.
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.
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.
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.