In the Advanced Backup form, extra databases from settings.php show up in the dropdown. However, selecting one doesn't save.
I am able to fix this by adding a source_id field to the backup_migrate_profiles table and to the backup_migrate_profiles schema.
This allows backup_migrate_item->to_array() to save the source id properly.
Then, to have the source_id loaded back into the form, I changed:
$form += _backup_migrate_get_source_form("db");
to
$form += _backup_migrate_get_source_form($profile->source_id);
in backup_migrate.module:backup_migrate_ui_manual_backup_form().
This looks like the way to save the source_id — but it could also go into the filters array, I suppose. If this is in fact correct, let me know and I'll roll a patch.
Comments
Comment #2
couturier CreditAttribution: couturier as a volunteer commentedIf this is still a problem with the 7.x-3.2 version and you're willing to write a patch, please re-open.