Solved

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

Posted on 2013-06-07
1
358 Views
Last Modified: 2013-08-20
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
0
Comment
Question by:crazywolf2010
1 Comment
 
LVL 12

Accepted Solution

by:
junipllc earned 500 total points
ID: 39229275
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
using hook_element_info() to add a placeholder to a form label 4 677
Drupal Module for Interacting with Second Database? 1 195
Warning, Page Not Found 2 89
Hidden bullet images 10 155
This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now