Move a SharePoint 2007 Site

This example moves a SharePoint 2007 application into a subcollection but can be used to move a site anywhere.

stsadm -o export -url http://mysharepointsite -filename z:\mysharepointsite.cmp -includeusersecurity -nofilecompression

-nofilecompression will allow you to write directly to the tartget drive without having to cache the export to the environmentvariables temp folder which is a problem if you’re running out of space on the machine you’re moving from.

2: Create a blank site at:

http://myportalsite/sites/mysharepointsite

3: Then overwrite it using an import of mysharepointsite.cmp

stsadm -o import -url http://myportalsite/sites/mysharepointsite -filename mysharepointsite.cmp -includeusersecurity 
Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s