Solved

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

Posted on 2013-06-07
1
365 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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 …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 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