Sunday, August 15, 2010

How to Copy a Sharepoint site using stsadm

Go to start -> Run

In the Command Prompt Go to

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin

Now run the command to Export the sharepoint site

stsadm.exe -o export -url <a href="http://(youroldsite/">http://(youroldsite/</a>) -includeusersecurity -nofilecompression -filename d:\spbackup

Copy the spbackup unto the destination server and run the command to import the site

stsadm.exe -o import -url <a href="https://(yournewsite/">https://(YourNewSite</a>) -includeusersecurity -nofilecompression -filename d:\spbackup

Now the Sharepoint site will be copied to the new location.

No comments:

Post a Comment