Schedule Automatic WordPress Blog Backup to Dropbox

Backing up your WordPress powered Blog regularly is very essential as disasters like Coding / Installation Errors, Hacking, Server Hard Drive Failure, Data Center Network Connectivity Failure etc. can occur anytime! If any of these occurs, either your valuable data will be lost or your blog will be offline for hours.

However, if you have a recent backup of your entire blog, then you can very easily restore it in a matter of few minutes. Let’s check out in this post, how to perform scheduled backups of your whole WordPress Blog to your Dropbox Account? The final backup will include all your blog’s Core Files, Images / other media content and Database.

How to Schedule Automatic Backups?

1. Install WordPress Backup to Dropbox (WPB2D) Plugin for your self hosted Blog.

2. As soon as the plugin has been successfully installed and activated, go to Backup Settings Page. Here you will see following Message:

wpb2d backup settings

In order to use WPB2D for making Automatic Blog Backups, you need to connect this Plugin with your Dropbox Account. Click on Authorize Button and you will be redirected to Dropbox Login Page.

Login to your Dropbox Account, in which you want to store your backup, and you will see following Authorization Confirmation Message:

dropox authorization

Click on Allow Button and the plugin will get successfully connected with Dropbox:

dropox successful authorization

3. The Backup Settings Page will now show you following options:

wpb2d backup settings page

4. Under Settings on this page you will see following options:

  • Store backup in a subfolder of the wpb2d App Folder: If you select this option, all backup files of your Blog will be stored in a separate WPB2D Folder (Gets automatically created when backup starts for the first time) inside APPS folder in your Dropbox Account. If you don’t select this option, then the backup files will be stored directly inside APPS Folder.
  • Day and Time: Using the Dropdown Menu, you can select the Day and Time on which you want to initiate Automatic backup.
  • Frequency: Here you can select how often the backup is to be performed? Select your preference from Daily, Weekly, Fortnightly, Every 4 Weeks (monthly), Every 8 Weeks (bi-monthly) and Every 12 Weeks (tri-monthly).

Once you have selected your preferred Backup Day, Time and Frequency, you can now select which Files and Directories you want to include or exclude in the Backup? (You can expand a particular directory by clicking on its name):

wpb2d excluded files and directories

All files and folder you select here will be excluded from Automatic Backups.

Note: Your SQL dump file / MySQL Database will always be backed up, no matter what you select under Excluded Files and Directories.

Hit the Save Changes Button and your Backup is scheduled. On the scheduled Day and Time, your blog’s folders and files will be automatically sent to your Dropbox Account and you can find all those inside WPB2D Folder:

wpb2d backup folder in dropbox

Important Notes:

1. For successfully creating automatic backups with this Plugin, your webhosting server must support PHP 5.2 or higher with cURL support.

2. The Plugin make use of CRON by calling wp-cron.php file. If your Server Settings or .htaccess file is blocking wp-cron.php, then you are required to add following line in the .htaccess file which is located in the root folder of your WordPress installation:

Allow from All Satisfy Any

It’s better to contact your Webhost directly in case you are having trouble with the execution of wp-cron.php file.

3. The database is backed up as two separate files. The first one is [database name]-backup-core.sql, which contains entire core Blog tables and data, and the second one is [database name]-backup-plugins.sql, which contains tables and data related to Plugins:

mysql dumps

These files can be found at /wp-content/backups/ inside  WPB2D folder in Dropbox.

4. The first backup always takes more time to complete than the next. This is because the plugin only uploads files that have been added / changed since the last backup. The only exception here is your SQL dump, which will be uploaded every time.

5. The Plugin also supports On-Demand or Manual Backups anytime. To start an on-demand backup, just go to Backup Logs Page >> Click Start Backup Button:

wordpress manual backup

If you have any query, feel free to leave a comment below OR ask your query directly on Support Forums.