Sunday, September 13, 2009

MOSS2007: Backup and Restore Web App

Backup

1. Start > run > cmd


2. cd "C:\Program Files\Common Files\Microspoft Shared\web server extensions\12"


3. stsadm -o backup -url http://sharepoint2007:115/ -filename c:\backupssp115.dat


4. If successful this message will appear: Operation completed successfully.



Restore

1. goto Central Administration > Application Management > Create or Extend Web Application > Create A New Web Application > .....

2. After webapp being created goto Start > run > cmd

3.cd "C:\....12..hives"

4. stsadm -o restore -url http://sharepoint2007:115 -filename c:\backupsp115.dat -overwrite

5. If successful this message will come out: Operation completed successfully.