SharePoint 2010 – How to move Sub Site to its own Site Collection

Using PowerShell

Step 1. Export Sub Site using Export-SPWeb command.

Export-SPWeb -Identity http://intranet.company.corp/site1/subsite1 -Path "C:\Exported Sub Site\subsite1.cmp" -IncludeUserSecurity -IncludeVersions all

Step 2. Create new Site Collection to host the exported Sub Site. [Select template Collaboration > Blank Site]

e.g. http://intranet.company.corp/site2

Step 3. Import the Content Migration Package (CMP) using Import-SPWeb command.

Import-SPWeb http://intranet.company.corp/site1 –Path "C:\Exported Sub Site\subsite1.cmp"

Using STSADM

Step 1. Export Sub Site using stsadm –o export command.

stsadm.exe -o export -url http://intranet.company.corp/site1/subsite1 -filename c:\Exported Sub Site\subsite1.cab -includeusersecurity -versions 4

Step 2. Create new Site Collection to host the exported Sub Site. [Select template Collaboration > Blank Site]

e.g. http://intranet.company.corp/site2

Step 3. Import content to new Site Collection

stsadm.exe -o import -url http://intranet.company.corp/site2 -filename c:\Exported Sub Site\subsite1.cab -includeusersecurity

Advertisements

One Response to SharePoint 2010 – How to move Sub Site to its own Site Collection

  1. Taras says:

    Hi,
    I’m trying to move subsite to a different subsite on my Sharepoint Foundation 2010 following your instructions. I’m getting following errors:
    [1/21/2014 9:21:11 AM] [List] [Shared Documents] Error: One or more field types are not installed properly. Go to the list settings page to delete these fields.
    [1/21/2014 9:21:11 AM] FatalError: One or more field types are not installed properly. Go to the list settings page to delete these fields.

    Could you please help to figure out what are these error caused by, and advice some workaround?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s