Imagine, you have been working on a blog for months. Suddenly for some reasons, you lost all of your hard works. What will you do! To save you from this situation, backing up your WordPress site is essential.
Why backing up your WordPress site is important?
As you know, WordPress is a very popular blogging platform. So, it is very vulnerable to hackers. If your WordPress blog is hacked, you may lose your all the hard works.
If you install or update a plugin or theme and anything goes wrong then you may lose your hard work.
Whatever will happen, why you put yourself at risk to lose our hard work.
So, as a blogger, you should backup our blog regularly, so that, you can restore your blog if any unwanted things happen.
Hopefully, your host backup the server regularly where your blog is hosted on. But if you have a backup of your blog, you can restore that quickly if needed.
So, what should you backup?
What to backup from your WordPress site?
You need to backup two things to take a full backup of your WordPress site.
- One is your database (your blog posts, comments, etc.), and
- Another is your files (your images, theme, plugins and many other things which make your site run).
I’ll show you how to backup both the things one by one.
Let’s talk about how to backup your WordPress database first.
How to backup WordPress database
To easily backup your WordPress database, you need to install a plugin and it’ll automate the process.
There are many backup plugins available in WordPress plugin directory. I use UpdraftPlus WordPress plugin to automate the backup process of my WordPress database.
After installing the plugin you need to configure your plugin setting.
Plugin setting will vary depending on the plugin you use to backup your WordPress database.
You’ll find instruction on how to setup the plugin on the plugin’s page of WordPress plugin directory. Just go to the plugin page and click on the installation tab. There must be instructions for setting the plugin.
Read More: How to Install WordPress Plugins
But, plugins only backups your database, not your files. Then how will you backup your WordPress files?
How to backup WordPress files
To backup your WordPress files, you just need to copy the “Wp-content” folder from your server and save it to your computer.
There are two ways, I know, to do so.
- One is to going to your hosting Cpanel dashboard, and
- Another is to using FTP (File Transfer Protocol) connection.
How to backup your WordPress file using hosting Cpanel
To backup your WordPress files by going to hosting Cpanel, follow the below steps –
Step 1: Login to your hosting Cpanel using login credentials.
Step 2: Go to file manager and navigate to “public_html” folder.
Step 3: Under the “public_html” folder, you’ll find your desired folder – “Wp-Content”.
Step 4: Copy that folder and paste to your computer’s hard disk or download that folder to your computer hard disk.
Another way you can use to backup your WordPress files is to use FTP connection. It is very easy and convenient.
How to backup your WordPress files using FTP connection
To backup WordPress files using FTP connection, follow the steps below –
Step 1: open your FTP client on your computer and input the login details.
Step 2: Once you are connected to your server, you will see a window with all the files on your server as you see files on your computer’s file manager.
Step 3: Now browse through the files and find your desired folder “Wp-Content”. It should be under the “public_html” folder.
Step 4: Once you find the folder, transfer it to your computer from the server and keep it in a safe place.
How often should you backup your WordPress site
Your WordPress site contains lots of data and it is large in size. You can’t backup this large data every day. Because it is time-consuming. And you know, as a blogger, you are always busy.
But you should backup your database daily. Because your WordPress database contains your blog posts and comments. You definitely worked hard to write and publish your post. So, you don’t want to lose them.
You can make a schedule in your plugin setting to backup your database daily.
When it comes to backup your WordPress files (wp-content), my recommendation is to backup this weekly.
Beside this, you should also backup your WordPress files before doing any major changes to your site – like installing a WordPress theme or plugins, site redesign and updating plugins or theme.
You may think that you will backup your WordPress site someday. But this is a risky thing. Because if something happens and you lost all of your hard works then you’ll think if you have a backup of your WordPress site!
So don’t ignore backing up your WordPress site and do it today.
How often do you backup your WordPress site and which WordPress files do you backup? Please share in the comment below…