Tuesday 12 June 2012

How to restore a top level site to a subsite using sharepoint powershell

Restore toplevel site to subsite
--------------------------------------

first export  the top level site http://server1:1111/  using  sharepoint powershell


Export :       stsadm -o export -url <fullurl which u want to export> -filename <location:filename.dat>


Now create a subsite  in another sharepoint server


Import :         stsadm -o import -url <destination url> -filename <location where u stored.dat file>


 Replace  Destination  Url with subsite url   example -- http://server2:1234/subsite/

No comments:

Post a Comment