Backups are one of the best defense against any sort of security threat toward your site.Regular backups are one thing that every blogger/webmaster should have.
We all know that we need to backup our website, but the question is always how. This tutorial covers using an excellent and free backup tool, BackWPup. BackWPup also has a paid version if you need additional features (but most people will do just fine with the free version).
There can be many reasons:
- Your website can be hacked.
- A server malfunction can cause the loss of website data.
- You seriously mess something up and it breaks the website beyond recovery.
Your web hosting company can go bankrupt.
Imagine if you do not have backups and one thing happens as stated above. You will lose all your data and there will be no way to recover your website. You will end up on square one and suffer a major business loss.
How To Create Backups Of Your WordPress Websites
Here is a list of things you should backup on WordPress site:
- Database (Contains all the settings and content)
- wp-content folder (Contains all the themes, uploads, plugins)
- .htaccess file (Contains the server configuration settings)
- wp-config.php file (Contains the WordPress configuration settings)You can take backups manually, but that is never a good idea as it will take a long time to backup a large WordPress website or multiple websites.
In this tutorial, I am going to to use BackWPup WordPress plugin to create backups. The free version of this plugin comes loaded with features and lets you create off site backups :
Step 1: Install BackWPup WordPress Plugin
Step 2: Taking a Manual Backup
After the installation process is complete, your next step should be able to take a backup of your website.
To do that, you need to navigate to WP Admin -> BackWPup -> Add new job.
Name your job and select the following:
1. Database backup
2. Installed plugin list
3. File backup
Under Archive Format, you can select any compression method, but for purpose of this tutorial I am going to use the ZIP format.
In Job Destination, select where to keep the database backup. To create a local backup on the same server, select Backup To FIn DB Backup tab, make sure all tables are selected to generate full backup of your WordPress Database.der
In Log Files, enter your email address and the subject of the email you would like.
Under the Schedule tab, select Manual only.
In DB Backup tab, make sure all tables are selected to generate full backup of your WordPress Database.
Last but not the least, in the Files tab select the following and you can uncheck the rest.By default BackWPup will backup your WordPress install, your content, your plugins, your themes, and your uploads
Click Save Changes and then navigate to BackWPup -> Jobs. You will see the job here and you can run it whenever you want by clicking Run.
Step 3: Backing up WordPress to Dropbox
To take backup of WordPress website on Dropbox, you need to Add New Job -> Select Backup to Dropbox under the General tab. Keep the other settings similar to those explained while taking manual backup
Hit Save and you will see a new tab named Dropbox.
Create a Dropbox account if you don’t have it already. If you have it, then you will need to click on Authenticate to generate the access key.
On this step, BackWPup will request access to your Dropbox account. Allow it and copy the Authentication key. Paste the access key in the App Access to Dropbox field.
Hit Save and Run the job manually to see if it works.
Step 4: Automating the Backups of WordPress Websites
Manually taking backups can be a chore. You can automate this by selecting WordPress Cron option under the Schedule tab.