How to upload the MySQL database dump from local to Acquia cloud?

245 views Asked by At

How to upload the MySQL database dump from local to Acquia cloud?, i can see the https://cloud.acquia.com/app/develop UI is changed and i don't find any database import option, someone please guide me on this.

1

There are 1 answers

1
Ivan Grynenko On

Make sure your local have drush alias, for example by using 'beetbox' Vagrant VM which provides one by defult - more on that here http://ivan.grynenko.com/how-stop-worrying-and-enjoy-developer-life-vagrant

When you setup alias for your local, just update aliases from acquia

drush acquia-update

and after that you could sync environments as you wish like so:

drush sql-drop @acquia_alias.dev
drush sql-sync @site.local @acquia_alias.dev

The example above will drop all tables in the Acquia Dev, and then sync your local DB over to Acquia Dev