.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Move Site to new Site Collection in SharePoint

Posted By:Jean Paul       Posted Date: April 29, 2014    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

In this article we will explore a method of moving site to site collection in SharePoint 2010
 

In this life time of a SharePoint installation, we might need to move a site to new site collection.

 

Site to Site Collection upgrading is needed due to multiple reasons like:

  1. Size exceeding limit
  2. Need for taxonomy based site collection
  3. Metadata, Security, Scope aspects

Actions Summary

Following are the actions involved:

  1. Export Site & Sub sites to a network folder
  2. Delete the existing site
  3. Create new content database
  4. Create new Site Collection
  5. Import folder content to new AnchorSite Collection

Please note that the Export & Import operations are time consuming.

How much time it will take?

The time depends mainly on the Size of your site.  If the size is around 1 GB, in a standard server you can expect 1-2 hours of processing time.

Scenario

Here we are going to move a site with url: http://corp/oldsite to new url: http://corp/newsite.  Please note that all the associated sub sites will also be moved.  The destination will be a new site collection inside a new content database.

PowerShell Script

Following is the script which performs the above actions.  Please change the arguments accordingly.  You can find the script along with the article attachment.

Execution & Verification

After executing the script, you can verify the new site collection for:

  • Valid Home Page
  • Site Collection Features
  • User Permissions
  • Quick Launch Links
  • View All Site Content

Please note that for lists, the system columns like Created On, Modified by etc. are set to the current user & current time.

Please try to use a Network Folder for backup locations.

References

http://bit.ly/144M6wR

Summary

In this article we have explored a method of moving site to site collection.  I hope the PowerShell script is the shortest path available other than Tools, if you have better ideas let know.


 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend