Archive for the ‘WordPress Backup to Dropbox’ Category

WordPress Backup to Dropbox 1.4

26 Nov

WordPress Backup to Dropbox version 1.4 has been released!

Everything I blogged about for the release candidate still stands with the following additions:

  • Added a safe mode warning to the settings page so that users can diagnose fix issues related to PHP memory and time limits.
  • Set the mysql wait time out at the start of a backup.
  • The file exclude widget has been updated to toggle excluded files better thanks to Joe Maller.
  • In addition ticks have been replaced with crosses to better portray its an exclude function.
  • Fixed an issue where WP option cache was interferring with stopping backups


Dropbox will be retiring version 0 on December 1st, 2016.

After December 1st, the V0 API will be shut down and applications using it will no longer be able to make calls. Unfortunately this means that anyone using a version of WordPress Backup to Dropbox lower then 1.0 will have no choice but to update to a later version.

cURL is now required

Unfortunately in order to modernize the plugin I have had to remove support for PEAR oauth in favor of cURL. In order to use 1.4 you will need to ensure you have cURL installed. Most hosts should have this enabled by default.

Premium Extensions

The zip and email extensions are 100% compatible with this version and will need to be re-installed when you update. If you have the zip extension, you should notice a small performance boost and a much lower memory footprint due to the chunked upload feature.

If you don’t have an extension installed you can do so from the ‘Premium Extensions’ menu. More information can be found at

Comments Off

Posted in WordPress Backup to Dropbox


WordPress Backup to Dropbox 1.4 Release Candidate

14 Nov

The last month or so has been pretty crazy on the wpb2d development front! I have been busy testing various Dropbox PHP API libraries that make use of Dropbox’s chunked upload feature that was released in August.

A new API library

After a fair bit of research and development I managed to find an excellent library witten by Ben Tadiar. Unfortunately this library was a tad over engineered for my purposes and did not support PHP 5.2 that many WordPress servers still use.

To overcome these sort falls, and the fact that there was no other nice API library available, I decided to refactor Ben’s work to suit the plugins needs. This involved porting it to PHP 5.2 and simplifying it so it can be reused more easily. In this process I wrote a whole bunch of unit tests to test the hell out of my work and ensure it is fit for the plugin.

My fork and refactor can be found here.

New features and updates

In addition to adding the new API library I have added or updated the following features.

  • Updated the Dutch translations.
  • Added the umsak funciton to attempt to run the backup under elevated privileges.
  • Set the memory limit to -1 (unlimited) for servers that allow it, the backup will still only use what it needs.
  • Added ‘unknown%’ to the backup estimation instead of the initial estimate to avoid confusion.


As per usual I have fixed as many bugs as I could.

  • Fixed some minor issues in the OAuth flow.
  • Fixed an issue where options will not update due to validation of an option from an older version. This affected starting and stoping of backups, updating email adresses and other options in certain circumstances..
  • Fixed up the backup time estimation so it cannot be set to zero or an impossibly low number.
  • Fixed memory limit issues in the file list by adding a max directory depth of 10
  • Prefixed save actions with wpb2d to avoid clashes with other plugins

Release date

I plan to release version 1.4 just before the release of WordPress version 3.5 that will be released on December 5. This will give you the chance to backup your blog using the much improved WordPress Backup to Dropbox before updating WordPress itself.

The release candidate for this version is available here:

I am currently using it on this blog and its performing perfectly. If you have the time it would be much appreciated if you can download and install it and let me know if you encounter any issues.

Note: Remember to uninstall the current version of the plugin first. 




WordPress Backup to Dropbox 1.3

04 Oct

Don’t have WordPress Backup to Dropbox yet? Check it out now at!

Introducing better logging

Yep thats right, I have overhauled the logging of your backup to get a better insight into what is going on with the vast amount of server configurations, WordPress versions and PHP security settings that exist in the world wide web.

The first thing you will notice is the backup history, within the settings menu, no longer shows verbose information on the backup. Instead, it will now just display the date and time a backup completed. This is because the backup monitor has changed to a backup log and contains a much richer interface and a lot more information on what is happening during the backup.

Here is the new backup log

As you can see the new log now contains an approximation of how complete it is as well as a ist of files that have been uploaded in the log snapshot. The list of uploaded files will only show if one of more have been uploaded to Dropbox. So, bearing that in mind, if you run a backup immediately after your first you should only see your SQL dump files uploaded to Dropbox. Any errors or warnings that are encountered will now show up in this log.

Pro Tip: You can hover over the file name to see when it was last modified on the server.

Executing instant backups

Instant backups can be executed from this screen as per usual. Like scheduled backups, these also use the WordPress quasi cron system which means it could take some time for the backup to kick off. The new backup log will poll every 15 seconds and update the interface.

Please note: You don’t need to stay on this page to execute an instant backup! Just hit ‘Start Backup’, close your laptop and go for a coffee. Your backup will kick off when the next visitor hits your site.

Backup log persistency

You will be able to view the log for the last backup only. Once a new backup starts it will be cleared to make room for the new information.

Accuracy of the percent complete figure

To begin with… not so accurate because its set to 1,500 that is just over the file count of a vanilla WordPress installation. Once you complete your first backup it will be set to the file count of your WordPress installation thus making it become more accurate over time. However, its still only an estimation and should not be taken as gospel.

Whats next

Next thing I will tackle is replacing the PHP Dropbox API with an updated one that takes advantage of Dropbox’s new chunked upload feature. This will greatly reduce the memory footprint required to upload large files to Dropbox. Once I have the new API implemented I am planning to build a restore tool that will allow your to bring your blog back up with the click of a button! Exciting times as I endeavour to get the plugin working for more and more people.

Does the vanilla version of WordPress Backup to Dropbox work flawlessly for you?
Do you want to be able to store multiple zipped versions of your blog?
Or maybe you want to be able to receive an email when your backup completes? 

If you answer yes to any of these questions you should consider purchasing a Premium Extension.
They are super easy to install right from the Premium Extension menu right under the backup log I have just introduced.
Payment is made using PayPal that makes it 100% secure and all extensions come with a 60 day 100% money back guarantee! So you have no reason not to give them a go!