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

Exclusion List shows root server directory #144

Open Roadsider opened 11 years ago

Roadsider commented 11 years ago

This cannot be right. Why is this showing up? I can't get to the website directory to exclude anything within that.

screenshot_6_21_13_3_18_pm

michaeldewildt commented 11 years ago

If you have your WordPress installation setup to run in a different directory the plugin will show files from the WordPress Address (URL) and the Site Address (URL).

It will then backup the WP_CONTENT_DIR followed by what is returned by get_home_path() => https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/file.php#L81

In your case it looks like this function is returning '/' for some reason. Is this what your document_root is set to in Apache?