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


Top 5 Contributors of the Month
Steve Jackman
Imran Ghani
Santhakumar Munuswamy

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

 Subscribe to Articles

Moving Sites and Solutions in SharePoint 2010

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

In the life span of a SharePoint Deployment, there encounter scenarios of moving site from one location to another.
 

In the life span of a SharePoint Deployment, there encounter scenarios of moving site from one location to another.

Types of Moving

There are different types of moving involved.

1. Moving within Site Collection

2. Moving outside Site Collection

3. Moving outside Web Application

4. Moving outside Servers

In this article I would like to explore the shortest path available to achieve the scenario.

1. Moving within Site Collection

Here you are moving one site to another site, within the same site collection. Please note that the content database is same in this case.

clip_image002

This movement could be faster as there is only URL changed required in the background.

You can use the following solution: Content and Structure

Open Site Settings > Content and Structure > Select the Site > Use Copy / Move action

clip_image004

You will be prompted with the destination site.

2. Moving outside Site Collection

Here you are moving site from one site collection to another site collection. Here the content database involved will be multiple & requires some real efforts.

clip_image006

The common solution for this scenario is: Export & Import.  After importing we Delete the source site to complete Move Operation.

We can export the source site:

Export-SPWeb -Identity http://server/site -Path c:\export\site.cmp -IncludeUserSecurity -IncludeVersions All

Then we can import the file at destination site:

Import-SPWeb -identity http://server/destsite -path c:\export\site.cmp -IncludeUserSecurity -ActivateSolutions

clip_image008

Before import, you need to create the destination site with same template of source.

clip_image008[1]

Please note that there are 2 types of Export commands:

1. Export-SPWeb for exporting site

2. Export-SPSite for exporting site collection

Similarly, Import commands are:

1. Import-SPWeb for importing site

2. Import -SPSite for importing site collection

3. Moving outside Web Application

In this case we can use Step 2 and copying the exported file to destination web application accessible path.

clip_image010

4. Moving outside Servers

In this case we can use Step 2 and copying the exported file to destination server accessible path.

clip_image010[1]

Things to remember before Site Copy/Move

Following is the todo list before site copy/move:

1. Enumerate number of sites & sub sites

2. Backup permissions of each site using Squadron

3. Backup home page of each site

4. Backup links of Navigation, Quick Launch

Things to remember after Move

Following are the check list items after a site collection move:

· Ensure home page is working properly

· Ensure lists, libraries are copied

· Ensure file versions

· Ensure sub sites home page are working properly

· Ensure permissions especially in top-level site

· Ensure Site Collection Features are activated (eg: SharePoint Server Publishing Infrastructure)

· Ensure Site Features are activated (eg: SharePoint Server Publishing Infrastructure)

· Fix page layout problems (link)

In case of exceptions, you can view the 14 hive ULS logs

As the Move operation is Copy & Delete, it is recommended that the Delete is done only after:

1. Ensuring destination site creation

2. Backing up source site files

clip_image012

There are sophisticated tools available in the market to facilitate copy/move/migration operations. Purchasing them would be a good idea if it saves time, cost & energy.

References

http://technet.microsoft.com/en-us/library/ee428301(v=office.14).aspx

Summary

In this article we have explore the Moving Site scenario & preferred solutions. I am attaching the PowerShell scripts associated.


 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