lando / acquia

The Official Acquia Lando Plugin
https://docs.lando.dev/acquia
GNU General Public License v3.0
2 stars 6 forks source link

Acquia Integration #5

Open mikemilano opened 3 years ago

mikemilano commented 3 years ago

Lando init

Lando build (start/rebuild)

Lando push/pull

jedgar1mx commented 3 years ago

Not sure if this is the place to write this but It would be nice to have a way to indicate which host I want to send the import. This would be super helpful for multi-sites settings. It currently let's me choose what database I'm pulling from the cloud but it only updates the default database locally.

mikemilano commented 3 years ago

@jedgar1mx I understand you are referring to lando pull but in case you are stuck, a workaround would be to fetch a backup and use lando db-import -h <host> mybackup.sql. There is internal dialog happening as to how we may address this with the pull command.

l-laziz commented 8 months ago

@jedgar1mx I understand you are referring to lando pull but in case you are stuck, a workaround would be to fetch a backup and use lando db-import -h <host> mybackup.sql. There is internal dialog happening as to how we may address this with the pull command.

I'm sure he's referring to a command lando acli pull:database site.env multisite. This command would download correct-multisite database from acquia, however when it comes to import into lando, it would by default import into the default db container and there is no option currently to specify another db container - which is necessary since lando guide is to have separate container per each multisite database.

m435tr0d commented 2 months ago

Not sure if this is the place to write this but It would be nice to have a way to indicate which host I want to send the import. This would be super helpful for multi-sites settings. It currently let's me choose what database I'm pulling from the cloud but it only updates the default database locally.

This recipe and scripts account for choosing a database to import into: https://github.com/nalipaz/lando-acquia-multisite-recipe