WordPress Backup to Dropbox 1.2 has been released! And following my usual release pattern it contains a fair few bug fixes as well as a performance feature.
New Feature: Core and plugin SQL dumps are now separate
In this version I have decided to split the WordPress core and plugins into tow separate database dumps to avoid issues with plugins that store way to much information in the database.
When the backup is executed, all the WordPress core tables will be dumped into ‘database-name-backup-core.sql’ and, the plugins into ‘database-name-backup-plugins.sql’. Not only will this mean that there will be two smaller files to upload to Dropbox it will also make it easier to restore you blog if it goes down.
Reduced directory nesting to one subfolder and fixed up error message
Now that the plugin uses Dropbox’s App Folder feature and the user can move the ‘wpb2d’ app folder wherever they like there is no need to have directory nesting as a sub folder. This removes complications creating folders in Dropbox and should fix some related issues.
Fixed issues where accounts where being incorrectly unlinked
Updating to the app folder mode added extra security for your Dropbox account but migrating the OAuth tokens meant that everyone needed to re-authenticate with Dropbox. This was achieved by detecting an auth error and removing the old tokens. Unfortunately it was unlinking for some non auth errors too, I have added a couple of new exceptions to the Dropbox API to stop this from happening.
Added singltons for better performance
The singleton pattern stops multiple objects from being created when they dont need to be. Its a negligible performance increase but, ey why not!
Fixed issue #63 Out of memory in settings page
If PHP is running in safe mode, the plugin cannot set the memory limit to an amount needed to do its job. So instead of a fatal error, users will get a nice message in the exlude widget prompting them to increase their memory limit.
Fixed issue #64 UnexpectedValueException
This was happening when PHP had the open base directory setting in affect. Its now fixed.
To get around Dropbox’s 150 megabyte file upload limit the zip premium extension has had an update to shard itself into multiple zip files. This will happen if the file gets to 100 megabytes.
You can purchase and install Premium Extensions directly from the plugin in its own menu item. They come with 60 day money back guarantee!
Well, thats it from me. WordPress 3.4.1 is out and this version is 100% compatible with it! (The last one was too). Please dont hesitate to post any issues you encounter and I will get to them as soon as I can.