WordPress Backup to Dropbox 1.2

27 Jul

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.

Bug Fixes

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.

Premium Extensions

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!

Have Fun!

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.

http://wpb2d.com

Cheers,

Mikey

 

WordPress Backup to Dropbox 1.1

20 Jun

Its been a few months since the 1.0 release and I have spent some time fixing bugs and adding a major new feature – App Folder Mode!

Dropbox App Folder Mode

For extra security I have decided to migrate to the Dropbox app folder feature. This means that the plugin will only have access to the wpb2d folder within your Dropbox, everything will work excatly the same as previous versions.

When you upgrade to version 1.1 you will need to re-authorise the plugin with Dropbox, once complete, an app folder named wpb2d will be created in the Apps directory. You can move this foder anywhere you like within Dropbox and the plugin will find it.

Updated API

The Dropbox PHP API has had some work done on it over the last couple of months so I have updated it for the plugin that should see some performance and reliability increases. A big thanks goes out to Joe Constant and others who have contributed to Dropbox PHP!

Rate Limiting

There have been reports recently of HTTP 503 erros being raised by the Dropbox API. To alleviate these I have added some rate limiting to the get directory contents and upload file API calls. This means that when an error is encountered the plugin will sleep for 5 seconds before attempting to upload the file again. The error timeout value can be tweaked by setting the BACKUP_TO_DROPBOX_ERROR_TIMEOUT constant in wp-backup-to-dropbox.php.

Other Changes

In addition to the major changes above, I have decided to remove the option to set the local dump directory. This is due to many users setting it to locations that do not have write access. A stock WordPress setup should have write access to the wp-content directory to install plugins so ‘wp-content/backups’ will be the temporary location for SQL and zip output.

Also, Windows users should see some improvements too! :-)

Premium Extension Updates

No major changes have been made to the premium extensions other then a small bugfix in the zip backup extension where the temporary zip files where being included in the zip and bloating its size.

Please Note: After updating to version 1.1 you will need to re-download and install your extensions, don’t worry you get unlimited updates for a year! :-)

And Thats it!

I hope these changes are to your liking and get the plugin working on more and more WordPress setups throughout the world! Dont forget to click the ‘Works’ button if all is well. Oh and a nice little star rating too if you like my work. :-)

If you notice any issues please dont hesitate to get in contact with me!

Cheers,

Mikey

 

 

 

Introducing subscriptions for unlimited premium extensions

12 May

It looks like WordPress Backup to Dropbox version 1.0 has been well received. There has been some positive feedback on the performance increases and that it seems to be working for more and more people with lower server resources.

In version 1.0 I introduced Premium Extensions as a way for users to extend the plugin without adding complicated settings to the core. These extensions are going well with 28 installations in the first week of release and no major issues raised by their users.

I have received one request from web developers and managers of multiple websites, that is to provide a service for them to install the extensions on all the websites that they manage for a subscription fee. This is now possible!

How to subscribe

1. Go to the wpb2d buy subscription page

2. Enter your details and pay securely with PayPal

3. Log in to the wpb2d developers page

4. Add all the sites that you wish to activate a premium extension on

5. Finally ‘Download and Install’ the extensions on your websites