Thursday, July 1, 2010

Sharepoint Import export

stsadm -o import -url http://servername/sites/gp -filename "c:\testweb" -includeusersecurity -nofilecompression -quiet

stsadm -o export -url http://server name/sites/gp -filename "c:\testweb" -includeusersecurity -versions 4 -nofilecompression –quiet

 

To move a sub site to root site of site collection

1. export the susite to c:\testweb folder

2. Create the root site using same site template

3.Import the c:\testweb file using import command

No comments:

Post a Comment