Drush script to replicate sites from Dev -> Staging --> Production

Hi,
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.

Thanks
crazywolf2010Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
junipllcConnect With a Mentor Commented:
For that I would probably recommend Aegir...but be sure to test the deployments to see if it works in your situation. Aegir requires different URLs and can work intra- and inter-server.

It's also completely based on drush, although the management interface is actually a Drupal site in and of itself.

http://community.aegirproject.org/

It's a little quirky here and there but if you have some experience with Drupal as well as standard Linux admin knowledge then it may be your solution. It's in use by some of the more well-known Drupal hosting providers.

Cheers,

Mike
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.