To take the backup in moss 2007 in command promp
Morbi id est in his stsadm.exe
“C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12BINstsadm.exe”
Syntax :
stsadm.exe -o backup -url
Example :
stsadm.exe -o backup -url http://localhost:2100 -filename backup.dat
if you want to overwrite the existing backup file use -overwrite with the command
stsadm.exe -o backup -url http://localhost:2100 -filename backup.dat -overwrite
It will take all subsites in given web application URL.
Aliquam pharetra