Created
May 30, 2014 08:16
-
-
Save cam8001/a452022f3158a5e51c28 to your computer and use it in GitHub Desktop.
Download all stored database dumps from Acquia cloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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