Closed (duplicate)
Project:
Backup and Migrate Files
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
16 Jul 2011 at 18:28 UTC
Updated:
25 Jun 2025 at 15:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedFurther info: I did a fresh Drupal install with only BAM and BAM_files. Now when attempting to update the "Exclude the following files or directories" field in profiles, I also get the following error:
Notice: Undefined index: exclude_filepaths in backup_migrate_files_destination_filesource->backup_settings_form() (line 93 of /home/paul/www-testsites/drupal3/public_html/sites/all/modules/backup_migrate_files/includes/destinations.filesource.inc).
This was mentioned in http://drupal.org/node/1028310#comment-4660226 but the suggested fix no longer works, presumably because I am using BAM version 7.x-2.2 (this is a guess). Using Drupal 7.4.
Comment #2
Anonymous (not verified) commentedI fixed it for myself by removing the form nesting. However, I'm not sure why the original doesn't work. I've attached my changes (txt) for info and won't waste time making a patch unless requested. Incidentally, the 'imagecache' directory is now 'styles' in D7 (hence the other change in there!).
Comment #3
andrew_mallis commentedwould like to see this fixed also.
Thank you!
Comment #4
BenK commentedSubscribing
Comment #5
Anonymous (not verified) commentedI note, whilst building a new site, that these changes now appear to be in the latest dev version and the form(s) can be used to save configuration. I still get the error:
"exclude_filepaths in backup_migrate_files_destination_filesource->backup_settings_form()" but only if I install BAM_files after overriding the profile. The error can be fixed by reverting the profile and overriding again.
Comment #6
mermentau commentedSubscribe.
I don't get any errors after adding excluded directories, but there are no files backed up except the database file. I checked /home/mysite/public_html/sites/default/files and nothing. Same for the private backup in /home/mysite/public_html/sites/default/private-files.
Comment #7
Anonymous (not verified) commentedbumpaw - that doesn't seem to have anything to do with this thread. Could you raise a new issue, please?
Comment #8
Anonymous (not verified) commentedThe remaining issue in this thread has been raised again: http://drupal.org/node/1253674
Comment #9
Anonymous (not verified) commented