Drush script to replicate sites from Dev -> Staging --> Production
Posted on 2013-06-07
I have a CRM integrated within Drupal 7 CMS website with hundreds of active users.
We have number of UAT, SAT, MO, Pre Prod testing environments which need different versions of CRM CMS to test different components of an application.
I am looking at drush to resolve this issue.
I need to copy build /patches from Dev to UAT, SAT, STG, MO, Pre Prod and finally from Pre Prod to Prod system. Some of these environments are on same server and some are spread across machines. The URLs, databases must be different for all of them.
I am looking for help
1. Build and replicate entire site as it is from Dev to UAT, SAT, STG, MO, Pre Prod
2. selectively replicate patches from Dev to UAT, SAT, STG, MO, Pre Prod
I looked at google and don't see a straight script for this usual issue.