Overwriting the content from one MOSS content database to another

Posted by 78lro on Stack Overflow See other posts from Stack Overflow or by 78lro
Published on 2010-03-19T19:45:09Z Indexed on 2010/03/20 8:11 UTC
Read the original article Hit count: 719

We have a content database on our live moss server. It contains one site collection with several sub-sites. I'm using the stsadm export command to produce a cmp file, then moving this to our test server in a different farm.

I then want to import this content into the content database on our test farm, using the import stsadm command results in me being left with all the existing test data as well as the live data. I tried detaching the existing content database from test in central admin and creating a new empty one,to the then run the import against that but the import failed as obviously there's not root site in the empty db.

The aim is to have the data on test look like live, clearing out all the test data.

Can anyone suggest a good approach to this type of problem?

© Stack Overflow or respective owner

Related posts about sharepoint2007

Related posts about database