-->

Sunday, October 28, 2007

Site Restore in MOSS 2007

To Restore the Site in SharePoint 2007

stsadm.exe is in the following installation path"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe"

Syntax :
stsadm.exe -o restore -url -filename

Example :
stsadm.exe -o restore -url http://localhost:2100/ -filename backup.dat

If you are trying to restore with the empty webapplication then the above command will successfully restore your backup.

If you want to restore your backup with the existing site then use -overwrite with the command.

stsadm.exe -o restore -url http://localhost:2100/ -filename backup.dat -overwrite

~Cheers,
Uday.

0 comments: