In this post we will discuss how we can export and import a sub site in SharPoint 2013 using PowerShell. By using Backup and Restore you can backup and restore site collection not a sub site. We can use Export and Import command to export and import a particular sub site or a list or document library.
– All Apps Templates are not visible while Adding an App in SharePoint 2013
– View ULS Logs using SharePoint LogViewer in SharePoint 2013
– user profile synchronization service stuck on starting SharePoint 2013
Below is PowerShell command to take backup of a sub site.
Export-SPWeb http://win-pfcp2dgt8di/sites/EnjoySharePoint/MyTestSubSite/ -Path “E:\Bijaya\MyTestSubSite.cmp” -IncludeVersions All
Below is the PowerShell command to import a sub site.
Import-SPWeb http://win-pfcp2dgt8di/sites/EnjoySharePoint/SPSubSite/ -Path “E:\Bijaya\MyTestSubSite.cmp” -UpdateVersions overwrite
Hope this will be helpful.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.