Skip to content

Instantly share code, notes, and snippets.

@dwaghmare
Forked from cam8001/ah_sync_backups.sh
Last active August 29, 2015 14:18
Show Gist options
  • Save dwaghmare/684b23138f63d5d656ca to your computer and use it in GitHub Desktop.
Save dwaghmare/684b23138f63d5d656ca to your computer and use it in GitHub Desktop.
# 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