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

Backslash not allowed #123

Closed juanbobsdad closed 11 years ago

juanbobsdad commented 11 years ago

Backup-to-Dropbox only copies .htaccess, Index.php, License.txt, readme.txt, robots.txt, and wp-activate.php. Then the log lists:

12:23:20: Error uploading 'C:\ApacheSites\AHPBlog\wp-admin\about.php' to Dropbox: Invalid path '/AHPBlogBackup\wp-admin': character at index 14: backslash not allowed

etc,,

and finally 12:23:49: A fatal error occured: The backup is having trouble uploading files to Dropbox, it has failed 10 times and is aborting the backup.

Add in was working until mid December 2012. I am reasonably diligent about keeping WP and add ins up to date, so cause appears to be in change from WPBU2DB 1.4. to 1.4.1 and/or WP 3.4.2 to 3.5.11

My server is Apache 2.2 running on a WinXP SP3 box, with PHP 5.3.10 cURL enabled. Chron jobs execute properly.

michaeldewildt commented 11 years ago

Fixed in 1.4.5

shubhamd commented 10 years ago

How did you resolve the issue ? Please answer.

armplinker commented 10 years ago

Well the URL was malformed anyway, it would appear. Some sort of mish-mash of Windows and unix directory delimiter conventions. If it were me, I would see this as a user configuration mistake in Wordpress.

Anyway, Mr. DeWildt says the issue is closed, so either update to the latest version or fix your mixed slash configuration.

shubhamd commented 10 years ago

Actually I am facing the same problem while implementing a dropbox app. So wanted help.

armplinker commented 10 years ago

If it were me, I would just brute-force groom the urls entered by the user to use the unix convention? Just flip the Windows backslashes silently and confirm the new path(s) is valid. I am sure Mr. DeWildt has a more elegant solution.

On Fri, Dec 20, 2013 at 1:36 PM, Shubham Desale notifications@github.comwrote:

Actually I am facing the same problem while implementing a dropbox app. So wanted help.

— Reply to this email directly or view it on GitHubhttps://github.com/michaeldewildt/wordpress-backup-to-dropbox/issues/123#issuecomment-31031194 .

Contact me at: Allen Marshall (mobile) 617.335.6934 (fax) 781.791.4590 (w) armarshall@allenrmarshall-consulting-llc.com (SMS) 6173356934@vtext.com website: http://tinyurl.com/ARM-LLC