Automatically Backup WordPress Sites to Dropbox
Backing up your site is good.
Automatically backing up your site is better.
Automatically backing up your site to somewhere easy to use like Dropbox.com is the best.
Wordpress Backup to Dropbox is simple plugin that will automatically backup your WordPress site to your Dropbox account. Here's how it works:
Before You Start
You're going to need two things for this tutorial:
- A WordPress site.
- A Dropbox account. If you don't already have one, sign up at https://www.dropbox.com.
Step 1: Install the plugin.
- Go to Plugins > Add New.
- Search for Wordpress Backup to Dropbox and install that plugin.
Step 2: Authorize the Dropbox connection
- After installation, the plugin will ask you to Authorize it to connect with your Dropbox account:
- You will go to the login page for Dropbox where you can enter your login name and password.
- After you enter you login details, you'll see a message that the app wants to connect with your Dropbox account.
- Click Allow to complete the authorization.
- You will get a message that the authorization was successful.
- Close the browser tab and return to the tab which has your WordPress admin active.
- Click Continue.
Step 4: Configure your backups
- You'll now see the main configuration screen for the plugin.
- By default, the plugin will back your site up weekly. You can change this if you wish.
- After you've set the schedule, Save Changes.
Step 5: Make the first backup
Before we leave this plugin to run, we're going to test that it works.
- Click Backup Now in the WPB2D menu.
- Click Start Backup.
- Wait. Wait. And wait some more. This first backup is not a fast process. The bigger your site, the longer it takes.
- Your second backup should go MUCH faster. In order to save time and bandwidth the plugin only uploads files that have changed since the last backup. The only exception is your database files that will be uploaded every time.
Step 6: View your backup files on Dropbox
- Go to Dropbox.com.
- Find the Apps directory and double click to open it.
- You'll see your backup directory inside, called /wpb2d/
- Double click that to open it.
- You will see your entire site has been backed up to Dropbox, where you can retrieve it any time you need.
Step 7: Schedule routine backups
For your automatic backups, you can set a day of the week as well as a frequency schedule.
Setting the time for the backup is also an option but it could be a little deceptive. The backup process only starts when someone visits the website, so if you have the process set for 1 a.m. and nobody visits your site until 6 a.m, the backup will be 5 hours late.
Once your files backup are completed, you only need to move those files back to your server to put them back on your site.
Your database backup is a little different. The program will store the file on the server with the extension .sql. Files ending in .sql it needs to be imported into your database, often via software called phpMyAdmin. The database is backed up into a file named '[database name]-backup.sql'. It will be will be found at the path 'wp-content/backups' within the App folder of your Dropbox.