jump to navigation

SharePoint Foundation 2010: How to Create Site Collection with a separate content database? June 9, 2012

Posted by John Ruby in Microsoft, Server, Sharepoint, Software, Solutions, Troubleshooting & Knowledge Bases.
Tags: , , , , , , , , , , , , , , , , ,
add a comment

 

How to Create Site Collection with a separate content database?

Hi All,

one of the "Stsadm operations" is creating site collection with a separate content database. it’s very direct command and will help you to maintain your sites & its db.
createsiteinnewdb: will Create a site at the specified Uniform Resource Locator (URL) and create a new content database using the user name and password you specify. If you do not specify a template to use, the owner can choose a template when he or she first browses to the site.
Example:
stsadm -o createsiteinnewdb -url http://siteurl/sites/site1 -owneremail owner@sharepoint.com -ownerlogin spuser1  -sitetemplate STS#0 -title “site 1” description "site 1 desscription" -databaseserver "DBServer" -databasename “DB_Site1”

SharePoint Foundation 2010: How to Create Site Collection with a separate content database?