justliam / wordpress-backup-to-dropbox

A plugin for WordPress that automatically uploads your blogs files and a SQL dump of its database to Dropbox. Giving you piece of mind that your entire blog including its precious posts, images and metadata regularly backed up.
http://wpb2d.com
108 stars 21 forks source link

v1.5.3 backs up everything every time #138

Closed andyrushtonprogramming closed 11 years ago

andyrushtonprogramming commented 11 years ago

It seems that the updated version 1.5.3 (I did have v1.4.5 installed before and it worked fine) now backs up everything every time, not just changed files. OK, Dropbox seems to handle this, in that it doesn't create a new version, but I'm sure it used to only backup changed files - I used to get just the database dumps on most backups. It is now taking a lot longer to run.

I wonder if there is a timezone element to this problem - I note that the backup log is showing log times one hour behind the display time - it is either running in GMT winter time and not adding summer time offset or it is running in UTC. I can't tell the difference since UTC = GMT which is my local timezone!

michaeldewildt commented 11 years ago

Thanks for letting me know. I will take a look.

ericrozen commented 11 years ago

Same problem and it's quite a big problem for me. Thanks in advance.

michaeldewildt commented 11 years ago

I will have a fix out shortly. :-)

michaeldewildt commented 11 years ago

Ok, I reckon I have solved your issues.

Please install this version and let me know how it goes.

https://dl.dropboxusercontent.com/u/3557067/wpb2d/wordpress-backup-to-dropbox.zip

It's a pre release of v 1.5.4

Cheers, Mikey

ericrozen commented 11 years ago

Hello Thanks but I don't know how to install it... Wordpress says something like: "the folder already exists..."... I prefer to wait for the official release... I can't mess my site now... Thanks anyway Eric

Le 23 mai 2013 à 13:36, Michael De Wildt notifications@github.com a écrit :

Ok, I reckon I have solved your issues.

Please install this version and let me know how it goes.

https://dl.dropboxusercontent.com/u/3557067/wpb2d/wordpress-backup-to-dropbox.zip

It's a pre release of v 1.5.4

Cheers, Mikey

— Reply to this email directly or view it on GitHub.

michaeldewildt commented 11 years ago

To install it you will need to remove the current version, or you can wait for the release in a few days.

Cheers, Mikey

andyrushtonprogramming commented 11 years ago

Hi,

just got round to trying the new version out.

I uninstalled the release version, installed yours, then backed up twice - the first did a full backup, the second a reduced set, but not quite the minimal set that I expected.

It seems to be backing up a few files from a theme every time (not sure which because you only report the filename, not the path), but none of the rest of the install. It also generates a log file but doesn't seem to send it to Dropbox!

andyrushtonprogramming commented 11 years ago

A bit more detective work - this time round it didn't do the theme files, but seemed to end abruptly after 63% complete and without updating the log file in Dropbox. Is this a timeout, and if so how can I increase it?

michaeldewildt commented 11 years ago

You could be hitting your apache timeout that is usually 5 mins. This cannot be changed so the plugin has a built in resume feature to get around this.

If you leave it, it should resume after some time provided you have site traffic.

Cheers, Mikey

On Friday, May 24, 2013, andyrushtonprogramming wrote:

A bit more detective work - this time round it didn't do the theme files, but seemed to end abruptly after 63% complete and without updating the log file in Dropbox. Is this a timeout, and if so how can I increase it?

— Reply to this email directly or view it on GitHubhttps://github.com/michaeldewildt/WordPress-Backup-to-Dropbox/issues/138#issuecomment-18359985 .

Regards, Michael De Wildt

Call: +61 434 034 362 Sites: http://wpb2d.com | http://mikeyd.com.au Twitter: @michaeldewildt Write: michael.dewildt@gmail.com

andyrushtonprogramming commented 11 years ago

Hi Michael,

thanks for the tip, I have increased the max execution time to 300 seconds (was 120) using the advice on how to configure PHP in http://www.webhostingzone.org/change-php-settings.html. This is now reported at the start of backups.

Also, the backup didn't resume, so I'm guessing it thought it had finished!

However, this has uncovered another problem which may explain the strange behaviour with themes - some parts of my theme are being backed up twice. I have my WP installed in a subdirectory "wordpress" - and you seem to back up the content partly to "wordpress/wp-content" and partly just to "wp-content" - I have both directories in Dropbox (did a complete wipe and started backup from scratch to confirm this). For example, the SQL dump goes into wp-content/backups but the log file goes to wordpress/wp-content/backups.

I must say I prefer this backup from the root directory - Wpb2d used to backup the subdirectory only - but it looks like it isn't consistently applied.

I hope this helps!

Regards, Andy

On 23/05/2013 23:03, Michael De Wildt wrote:

You could be hitting your apache timeout that is usually 5 mins. This cannot be changed so the plugin has a built in resume feature to get around this.

If you leave it, it should resume after some time provided you have site traffic.

Cheers, Mikey

On Friday, May 24, 2013, andyrushtonprogramming wrote:

A bit more detective work - this time round it didn't do the theme files, but seemed to end abruptly after 63% complete and without updating the log file in Dropbox. Is this a timeout, and if so how can I increase it?

— Reply to this email directly or view it on GitHubhttps://github.com/michaeldewildt/WordPress-Backup-to-Dropbox/issues/138#issuecomment-18359985 .

Regards, Michael De Wildt

Call: +61 434 034 362 Sites: http://wpb2d.com | http://mikeyd.com.au Twitter: @michaeldewildt Write: michael.dewildt@gmail.com

— Reply to this email directly or view it on GitHub https://github.com/michaeldewildt/WordPress-Backup-to-Dropbox/issues/138#issuecomment-18374830.

Andy Rushton Website Designer and Programmer web: www.andyrushton.co.uk http://www.andyrushton.co.uk email: programming@andyrushton.co.uk mailto:programming@andyrushton.co.uk