Importing sites
Importing sites in SharePoint 2010 at a granular level can be accomplished only through PowerShell.
Importing is akin to restoring the assets of the site. This can also be done for an item.
This recipe shows how to restore the site from the previous recipe.
Getting ready
An export sites file must exist.
The user must have access to one of the servers running PowerShell 2.0 and the user should be a member of the WSS_ADMIN_WPG
group on the local computer. The user must also be a member of the db_owner
database role and SharePoint_Shell_Access
role in the following databases:
Source content database
Administration content database
Destination content database
How to do it...
1. Click on the Start button on the web frontend.
2. Under All Programs, navigate to the
Microsoft SharePoint 2010 Products
folder.3. Right-click on SharePoint 2010 Management Shell and click Run as Administrator. The PowerShell console will appear.
4. Type the following into the console window. Once the command is...