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?

1 Answer 1


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
    Commented Jun 20, 2018 at 12:44
  • 1
    Try using @self instead of @localenv (will not work on some older versions of drush) Commented Jan 23, 2020 at 23:00
  • 1
    --progress is not a flag of drush rsync, it's an rsync flag. so the command should look like this: drush rsync @sitename.env:%files @localenv:%files -- --progress
    – daggerhart
    Commented Apr 19, 2022 at 10:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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