?
Solved

Moveing Subsite From one Site Collection To another

Posted on 2014-01-05
10
Medium Priority
?
2,821 Views
Last Modified: 2014-01-07
Hi experts,

I wanted to move a sub-site in our old site collection to another site collection , what I have did is the following :

1-  Go to new site collection create team site xyz with unique permission (xyz owners, xyz visitors and xyz members)
 
2- Export sub-site from old site collection using this command
export-spweb "http://host/sites/OldsiteCollection/xyz" -path "D:\Temp\migration\backupfile.cmp" -IncludeUserSecurity

Open in new window


3- Import subsite (from step 2) to my new site collection using this command
Import-SPWeb "http://host/sites/NewsiteCollection/xyz" -path "D:\Temp\migration\backupfile.cmp"  –UpdateVersions Overwrite -IncludeUserSecurity

Open in new window


The site is moved successfully but with one issue in the permissions. When I go to site actions => Site Permissions, all permissions entry has limited access added to it , although permissions on the old site doesn't have the limited access.

I know that limited access permission is added by SharePoint for users who access only to a resources in a site (user have read only on task list for example)

any idea what is went wrong and how I can migrate site with the same exact security permissions ?

Regards,
Shamma
0
Comment
Question by:Web_Admin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 9

Expert Comment

by:BobHavertyComh
ID: 39757112
Here's a good article.

http://social.technet.microsoft.com/wiki/contents/articles/8138.sharepoint-2010-copying-permissions-between-site-collections.aspx

It can be done in code, but the recommended and easiest way to do this is to create a new security group in AD. and apply this security group for both locations. The article says more.
0
 

Author Comment

by:Web_Admin
ID: 39757168
All Security groups (from old site collection) are already created in the new Site Collection

So this article suggests after I imported the sub-site (without the security included) I have to re-do the site permission part manually ? I think there should be an automated way ..
0
 
LVL 38

Accepted Solution

by:
Justin Smith earned 750 total points
ID: 39757426
Common situation when going across site collections.  Likely the groups (all groups from the source site) were created at the root of the destination site.  You will need to manually add them to the permissions on the destination sub-site.
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 19

Expert Comment

by:Walter Curtis
ID: 39757940
You are including security in the export cmdlet and including security on the import. You did create the groups in the destination, but did they have the same name? If not, the users would be imported, but would not be added to the groups if the name are different. If the names are the same, then try importing to the destination including security, but without creating the groups beforehand, in other words let the groups be created by the import process.

Hope that helps
0
 

Author Comment

by:Web_Admin
ID: 39758488
@ACH1LLES
Is this the case if I detach and attach content database to new site collection ? I will have to manually fix the permission on each site , list and document that stopped the inheritance?


@SneekCo
Yes the security groups (in source and destination) do have the same name. actually the groups are created by the import process , I have not created them manually.
I imported the sub-site then deleted it (but the security group still there in the destination)
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39759595
Not following you.  You mean detach and attach to a different web application?  In that case, no, you wouldn't need to touch the security.  Realize if you do this, any other site in the database moves with it.  Also, you would be moving the entire site collection in that case, not just the sub-site.
0
 

Author Comment

by:Web_Admin
ID: 39760096
We have recently deployed SharePoint in our organization. So I  wanted to make sure that moving sub site to another site collection a special case but when we will upgrade to 2013, attach content database to a site collection will do the job.

I think I will fix the permissions manually, Thank you so much for your answers.
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39760105
You need to get your terms right :)

Databases aren't attached to site collections.  Databases contain site collections and they are attached to web applications.
0
 

Author Comment

by:Web_Admin
ID: 39761234
I am confused now :S

we have more than 5 site collections under one web application and each site collection has its own content database. So content database is attach to site collection under a web application.
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39762154
Databases are attached to web applications and site collections are then created inside them.  You cannot attach a database to a site as a site can't exist without a database.

If you create a new site collection it is going to be placed in one of the content databases attached to the containing web app.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question