The "drush bam destinations" command always returns an empty list. It appears to be due to _backup_migrate_drush_destinations() (in includes/backup_migrate.drush.inc) using $op of NULL, which gets passed to backup_migrate_get_destinations(), which then doesn't return any destinations. Changing the default $op of _backup_migrate_drush_destinations() to 'all' appears to fix the problem at least partially, although it lists the "upload" and "download" destinations that probably won't work from drush. ;-)
I don't know if this is the correct fix, but it seems to work for me.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | backup_migrate_715472.patch | 612 bytes | logickal |
Comments
Comment #1
logickal commentedThat certainly seems to fix the problem - having destinations you might not use makes a certain amount of sense from an informational standpoint. Simple enough fix, but I've gone ahead and rolled a patch to familiarize myself with the process. Let me know if I've done anything egregiously wrong here!
Comment #2
logickal commentedSorry - setting to needs review.
Comment #3
dooug commentedPatch applied and worked fine for me.
Comment #4
ronan commentedFixed now. Sorry, I didn't see the patch here so I didn't credit you in the commit log but thanks for tracking this down.
Comment #5
supersteph commentedworked like a charm! thanks so much!