Skip to content

Instantly share code, notes, and snippets.

@cam8001
Created May 30, 2014 08:16
Show Gist options
  • Save cam8001/a452022f3158a5e51c28 to your computer and use it in GitHub Desktop.
Save cam8001/a452022f3158a5e51c28 to your computer and use it in GitHub Desktop.
Download all stored database dumps from Acquia cloud
# Download all database backups from Acquia Cloud.
drush @SITE.ENV ac-database-instance-backup-list SITE | grep id | head -1 | awk -F ":" '{print $2}' | xargs drush @SITE.ENV ac-database-instance-backup-download DBNAME > backup_file.sql.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment