Setup/Configuration replication

kjshaw's picture

Hi, all, I need a little help, please.

I'm getting into a situation where I may need to create numerous drupal sites. I'm fine with the whole multisite process, but I'd like to be able to copy and replicate a site that is largely configured with some basic things likes roles and permissions, input formats, Rich Text editor profiles, etc.

I know there is a way to do this but I'm frustrated searching drupal.org (as soon as you say "multisite" in the search box, the hits number in the thousands.)

If someone would please point me in the right direction, I'd be enormously grateful.

Best regards,

Kevin

Login to post comments

"WayS" ... not "Way"

Shai's picture
Shai - Fri, 2009-05-22 14:09

Kevin,

This is a huge topic right now and there isn't a consensus on how best to do this. Also, use-cases vary significantly so there will never be a cookie-cutter solution.

Installation profiles were supposed to be the way. But people find it difficult to create and maintain them.

Lots of new ideas are being worked on and already out there. There's deploy module, "Patters" and "contexts" as well. For new trends I'd recommend listening to the short "Drupal Voices" podcasts #s 9, 10, 11. Here is a link: http://www.lullabot.com/podcast/drupal-voices?page=2

Let us know what you ended up doing.

Shai

Shai Gluskin
Content2zero


There are at least three

sc5858's picture
sc5858 - Fri, 2009-05-22 14:14

There are at least three ways to do this.

Multi-sites allows you to have multiple sites that share a code base, but have separate databases. You can also have modules and themes just for one of your subsites. Each subsite can have it's own domain or subdomain. The best instructions for this, or at least a good starting posint, is the text in the settings.php file. Of course, for this to work, all the sites have to be on the same server.

One method that I use is to maintain a master site that is up to date, has all the modules I use, and all the settings in place. Then when I have to implement a new site, I simple copy the files and the database, and a new site is up and running in no time.

There's also site profiles. Take a look at the handbook for info on how this works.

Sam


Thanks, gents

kjshaw's picture
kjshaw - Fri, 2009-05-22 15:37

I was hoping this would be easier.

It looks like the Demonstration Site module or Snapshot might do the trick.

I also found this http://drupal.org/node/70861 which is a bit more manual than I hoped, but not onerous.

Thanks again.

Kevin