Thursday, July 19, 2012

Moving site from one port to another using Export & Import Command

Today I faced an issue while restoring site collection from one server to another server. it was giving me error of different versions of SharePoint Application.

This command help me solving issue. Use this command with Sharepoint 2010 Management Shell.
to access Sharepoint2010 Management Shell.
Go to Start->Microsoft SharePoint 2010 Products->Sharepoint 2010 Management Shell.

To Export List :
Export-SPweb -identity http://mossapp/picturelibrary -Path E:\viral\Backup\exportsites.cmp

To Import List :
Import-spweb –identity http://mossapp:8008 -path E:\viral\Backup\exportsites.cmp

Hope this helps!!

Viral Shah

Contact me


Email *

Message *

Total Pageviews