KB

Backup and Restore Companydata

Put this in a bat file and run it. F: points to an external drive.

c:
cd\
cd\Progra~1\Common~1\\Micros~1\webser~1\60\BIN
stsadm.exe -o backup -url http://companyweb -filename
f:\sharepoint.dat -overwrite"
pause
exit

Use this to restore:

stsadm.exe -o restore -url <url> -filename <filename> [-overwrite]