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.
Notice: "bam backup" must be renamed to "bam-backup" in order to work with this version of drush (Drush 3.0alpha). If you
are the maintainer for the module that defines this command, please rename it immediately. If you are a
user of this command, you may enable spaces in commands for a while by setting "allow-spaces-in-commands" in
your drush configuration file.
Comment | File | Size | Author |
---|---|---|---|
#2 | bam_drush3.patch | 9.94 KB | kswan |
#1 | 720580-drush-1.patch | 10.1 KB | mikey_p |
Comments
Comment #1
mikey_p CreditAttribution: mikey_p commentedThis at least covers the DRUPAL-6--2.
Needs tested.
Comment #2
kswan CreditAttribution: kswan commentedI tested your patch, but got an error when listing the available command using simply "drush". I found an error in backup_migrate_drush_command(). There was an incorrect line
$items['bam-destinations'] = arraybam-restore;
I fixed this line in the attached patch.
drush bam-destinations isn't returning any destinations, but I don't know if that is related to this issue.
Comment #3
kswan CreditAttribution: kswan commentedI found that the empty bam-destinations issue is referenced in #715472: "drush bam destinations" is an empty list.
I also changed the title to more accurately describe the problem.
Comment #4
logickal CreditAttribution: logickal commentedTested, seems to work great on my end. I rely pretty heavily on Drush so this fix was good news. I suppose the other workaround would be the setting to allow Drush to continue using spaces in command names....
Comment #5
dooug CreditAttribution: dooug commentedTested and confirmed to work here. Thanks!
Comment #6
ronan CreditAttribution: ronan commentedAwesome, thanks everybody.
Comment #8
FiNeX CreditAttribution: FiNeX commentedThanks for the fix. Does it exists a release plan for the next version which will include this patch?
Thanks.
Comment #9
jim0203 CreditAttribution: jim0203 commentedThanks from me, too - and I'd also be interested in knowing when this patch will roll into a release of backup and migrate. Great module, btw!
Comment #10
TravisCarden CreditAttribution: TravisCarden commented@jim0203, I share your interest in seeing this released.
Comment #11
cgmonroe CreditAttribution: cgmonroe commentedFWIW - This is in the current dev version... now the question is.. to use the dev version in production or not...
Comment #12
ronan CreditAttribution: ronan commented6--2.3 is released now.
Thanks all.