Bash script to automate database synchronization with Acquia Dev Cloud database and localhost
I started to use Acquia Dev Cloud to host a Drupal project this week and now i'm needing to review my custom bash scripts to automate some development tasks.
First of them that i'm creating is for a fundamental taks: synchronize remote database with my local database.
Above is the bash script that i created to get the last database backup file created in the Acquia environment. This script will need a improvement in the coming days, because i think that it'll break as i start to use the stage and prod environments, as long as i'm using only the dev right now.
Enjoy.
Categorias:
