I just setup acquia cloud and have a site setup. I've did a git clone to my local desktop along with downloading the DB manually. But how do I get the files downloaded to my local desktop so I can do my own local testing?

Is there a quicker way to do this via drush to get the latest files and db pulled down?


You can read up on some drush specific tasks that you can do in this Elevated Third blog post

Acquia supplies drush commands and aliases that tie into Acquia Cloud API calls. So you can actually simply use the alias and the rsync drush command:

drush rsync --progress @sitename.env:%files @localenv:%files

You can also create and download Acquia database backups with the ac-database-instance-backup and ac-database-instance-backup-download commands.

Also, if you want an "all-in-one" solution, the newer versions of Acquia DevDesktop tie directly to your Acquia cloud account and can get database and file syncs automatically.

  • what is @localenv, where does it come from? should I replace this with something else? – wranvaud Jun 20 '18 at 12:44

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.