Quantcast
Channel: Darryl's Awesome SharePoint Blog
Viewing all articles
Browse latest Browse all 25

Creating a Site collection on a new DB.

$
0
0
Recently I just deployed a corporate intranet. As users started getting comfortable with MOSS, the questions about having their own sites emerged.

 I wanted to keep the same name for the site that they were comforable with, so I needed to use the same web application. However, I was a bit concerned about database size, so I wanted to put all team sites into a new db.

So the first thing you need to do is to create a new content db.  Central Admin > Content Databases > Add a content database.

The next step is to get onto the server and run the following stsadm command:

Stsadm -o enumsites -url>.xml  Make sure you put the > after the url. The technet guide on this does not point this out.

this will create an xml file with all the sites in that web app in it. Remove any sites from the file that you do not want moved. next complete the following command:


Stsadm -o mergecontentdbs -url-sourcedatabasename-destinationdatabasename-operation 3 -filename 

Perform an IISRESET and thats it!


 

Viewing all articles
Browse latest Browse all 25

Trending Articles