How to Automatically Backup Your WordPress Site to Dropbox

Last year Dropbox announced that they have 4,000,000 users, a number which is likely to double very soon. In case you’re out of the loop, Dropbox is a cloud-based storage and file sharing service. It’s become very popular, due to its ease of use and the basic offer of 2GB of free storage space.

A new plugin is available that gives you the opportunity to put Dropbox to work for the security of your WordPress site. Here’s how you can set up automatic backups of your WordPress site to Dropbox:

Step 1: Signup for Dropbox if you don’t already have an account.

If the free version is not enough space for you, you’ll need to purchase a plan that will accommodate your website backups.

Step 2: Install and activate the WordPress Backup to Dropbox plugin.

It’s available for free in the WordPress plugin repository.

Step 3: Authorize the plugin with Dropbox.

After installing and activating the plugin, you’ll be prompted to authenticate so that the plugin can gain access to your Dropbox account.

Step 4: Select the day, time and how often you wish your backup to be performed.

The plugin’s settings page will show your next scheduled backup and how much space you have available. It also allows you to specify the folder in Dropbox where you want the backup to be placed. You have the option to store the backup locally as well.

One of the most handy features of this plugin is that it allows you to specify how many backups you want to keep, so that you don’t continually go over your limit with Dropbox.

Step 5: Wait for your backups to appear in the specified Dropbox folder.

Once you have the settings configured and have scheduled your backup, wait for a zipped archive of your website’s files and its database to be dropped in your Dropbox. Backups will be prepared automatically for you, so make sure to verify that it’s working correctly before you set it and forget it.

The bottom line is that you know you should be backing up your WordPress site. If Dropbox makes that more convenient for you, then by all means, take advantage of its services. You’ll be glad to find that backup in your Dropbox folder if your hosting fails.

Featured Plugin - WordPress Membership Site Plugin

If you're thinking about starting a paid, or just private, membership site then this is truly the plugin you've been looking for. Easy to use, massively configurable and ready to go out of the box!
Find out more

Featured Plugin - WordPress Google Maps Plugin

Simply insert google maps into posts, sidebars and pages - show directions, streetview, provide image overlays and do it all from a simple button and comprehensive widget.
Find out more

Featured Plugin - WordPress Appointments Plugin

Take, set and manage appointments and client bookings without having to leave WordPress. Appointments+ makes it easy.
Find out more

Featured Plugin - WordPress Wiki Plugin

To get a wiki up and running you used to need to install Mediawiki and toil away for days configuring it... not any more! This plugin gives you *all* the functionality you want from a wiki, in WordPress!!!
Find out more

Featured Plugin - WordPress Infinite SEO Plugin

Fully integrated with the SEOMoz API, complete with automatic links, sitemaps and SEO optimization of your WordPress setup - this is the only plugin you need to help you rank your site number 1 on Google - nothing else compares.
Find out more

Featured Plugin - WordPress Q&A Site Plugin

It's now incredibly easy to start your own Q&A site using nothing more than WordPress - The Q&A plugin simply and brilliantly transforms any site, or page, into a perfect support or Q&A environment.
Find out more

Featured Plugin - WordPress Facebook Plugin

Would you like to add Facebook comments, registration, 'Like' buttons and autoposting to your WP site? Well, The Ultimate Facebook plugin has got that all covered!
Find out more

Featured Plugin - WordPress Ecommerce Shopping Cart Plugin

Out of all the WordPress ecommerce plugins available, MarketPress has got to be the winner - easy to configure, powerful functionality, multiple gateways and more. A simply brilliant plugin!
Find out more

Featured Plugin - WordPress Newsletter Plugin

Now there's no need to pay for a third party service to sign up, manage and send beautiful email newsletters to your subscriber base - this plugin has got the lot.
Find out more

Comments (38)

  1. A quick word of thanks. I followed your clear instructions and it worked a treat. Another useful tool to guard against the unexpected! Thank you Sarah. (Thanks too to David Decker for his suggestion – I’ll follow that one up for some of my hosted clients with their own FTP space.)

  2. I wish there was a way to tell prevent dropbox syncing the backup to mobile devices. Guess in most cases you don’t want the backup to show up on your iPhone or iPad. :)

    Still a very convenient approach even featuring versioning and a very durable storage.

    cheers
    Andreas

  3. Hi!

    Great plugin! But it doesn’t put a backup somewhere.. :(
    It says: Backup started on 2011-05-06 at 12:06:21
    But it never says ‘complete’ or ‘done’ or something. And I can’t find the files :(

    Can you help me fixing it?

    Thanks ;)

    Cheers!

  4. I’ve been using IDrive for my single sites and am just trying it with WPMU. Not 100% it will work. Although a dropbox user, I dig IDrive – especially as it has 5gigs free and does a backup only of amended files…

    Anyone got any smart ideas on auto-backups for WPMU?

    Cheers

  5. Hi

    I am trying to install this plugin but for some reason it wont work. I get the following error:

    Fatal error: Cannot use string offset as an array in /usr/www/users/theurbj/wp-content/plugins/wordpress-backup-to-dropbox/wp-backup-to-dropbox-options.php on line 76

    Any help would be appreciated.
    Thanks

  6. Thanks Sarah for the writeup and everyone else for the feedback!

    Based on all the feedback I have received I have made a whole heap of changes in the plugin to get it to work for as many WordPress users as possible.

    I released WordPress Backup to Dropbox 0.8 a few days ago and you can read about the changes here – http://bit.ly/mAI8ZE

    Keep up the good feedback!

    Cheers,
    Mikey

  7. Gday James,

    That would be a great feature indeed, however at the moment it will not remove files from Dropbox that you have removed from your server.

    Maybe in the future I will look at implementing it!

    Cheers,
    Mikey

  8. Mikey,

    I think what you would want to do is generate a file list of current files. Then when the backup runs, have it compare the files the files on the server with the file list, anything not there would be queued to be removed. And obviously anything new, uploaded. I can’t tell if the backup is incremental or not. You would want it to be incremental so your not re-uploading a bazillion files each time it runs. An image is an image, no need to reupload it. Part of this post is in ignorance of how dropbox handles similar files. It may only do incremental. (changed files uploaded). Anyway, awesome program! Thanks for the plugin!

  9. Hi Sarah

    Great plugin. Thank you.

    I’ve one question:
    Where can I set up ‘Backups to keep’ ?

    In your post I see in settings that setting, but I don’t have the setting in my installation. I use the latest version 0.8.

    Thank you in advance!

    Stijn

Participate