Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am using publishing portal template. I am using the following backup and restore process to backup from site collection http://machine1 to site collection http://machine2/sites/site2. I want to know whether my backup and restore process is correct? (both source and destination are site collections.)

Another question is, I am confused in step 2, if I do not create a new content database from Central Administration, and in step 3, the restore command will output error says content database not exists? why?

Step 1: (from source machine1)

backup stsadm.exe -o backup -url http://machine1 -filename e:\backup.dat

Step 2: (from destination machine2)

Create a site collection http://machine2/sites/site2 and create a new content database

Step 3: (from destination machine2)

stsadm.exe -o restore -url http://machine2/sites/site2 -filename e:\backup.dat -overwrite

Thanks in advance,
George

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.