Import\ Export SharePoint Subsite Using Powershell
Run PowerShell as Administrator.
Export Subsite:
export-spweb -identity http://mysite/mysubsite -path D:\subsitebackup\mysubsitebackup.cmp
Import Subsite:
import-spweb -identity http://mysite/mysubsite -path D:\subsitebackup\mysubsitebackup.cmp
Note:
To use import or export subsite command in power shall both source and destination template should be same.
Iam trying to export a subsite and import as a sitecollection, but export is not copying the master pages, is there any way to copy the master pages also.
ReplyDeleteThanks in advance.
Thanks for sharing useful information with us about Import\ Export Share. Your info will definitely help the readers and please keep sharing some more info with us.
ReplyDeleteHome Automation Vancouver | vancouver security | Best Security Vancouver