Hi everyone,

When clicking on the "Advanced Backup" sub-tab (of the "Backup" primary tab), I'm getting the following notice:

Notice: Undefined index: exclude_filepaths in backup_migrate_files_destination_filesource->backup_settings_form() (line 85 of /Users/benkaplan/drupal/sites/all/modules/contrib/backup_migrate_files/includes/destinations.filesource.inc).

Thoughts?

--Ben

Comments

tinto’s picture

Same issue here since installing this add-on module.

shaisamuel’s picture

Same

Anonymous’s picture

I can't see where the problem is in the code, however it only seems to occur when you enable backup_migrate_files AFTER overriding the default profile (or adding a new one). Note that you get the same error when re-editing the profile. It's caused because the exclude_filepaths are missing.

To work around, simply delete/revert your profile and set it up again. You can just re-save the profile to fix, but the exclude_filepaths will be blank (and it's a good idea to have these).

...At least, that fixes it for me.

iamsixstringz’s picture

To work around, simply delete/revert your profile and set it up again. You can just re-save the profile to fix, but the exclude_filepaths will be blank (and it's a good idea to have these).

This worked for me as well.

brad.bulger’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new573 bytes

This patch uses the default values if the key is not set at all, which seems like a reasonable choice.

sano’s picture

Status: Needs review » Needs work

The patch does not apply to version 7.x-3.5+8-dev. I don't even see the destinations.filesource.inc file to be patched in the "includes" directory.