Friday, May 9, 2014

Convert MOSS 2007 DB to SharePoint 2010 Content DB using STSADM

Here are the steps...

- Get a DB backup from MOSS DB (SQL) server
- Restore it on SharePoint 2010 DB (SQL) Server
- Run the stsadm command below

stsadm.exe –o addcontentdb –url http://mytargertwebapplication:portnumber/  -databasename “put DB name here” -databaseserver "SP2010 DB Server”

OR

stsadm -o addcontentdb -url "http://mytargertwebapplication:portnumber/ " -databasename put DB name here -databaseserver SP2010 DB Server

2 comments: