I have a site that uses two databases. I would like to sql-sync both of those databases to the development version of the site. Is this possible?

// Default
drush sql-sync @prod @dev 

// Optional?
drush sql-sync @prod @dev --database=my_other_db
drush sql-sync @prod @dev --source-database=my_other_db --target-database=my_other_db

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.