Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi.
I noticed something weird around line 139 in backup_migrate.drush.inc:
$settings = array('source_id' => $source_id);
backup_migrate_perform_restore($destination_id, $file_id);
In a nutshell the settings array is correctly initialised but not passed to backup_migrate_perform_restore, which will cause the source parameter to be simply ignored.
Needless to say this bug may cause an unwanted database restore (since db is the default source_id).
Thanks for the awasome module.
Comment | File | Size | Author |
---|---|---|---|
backup_migrate_drush_restore_source.patch | 520 bytes | epifab | |
Comments
Comment #1
ronan CreditAttribution: ronan commentedLooks good. Commited. Thanks!