Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move Content DB error content DB does not exist

Status
Not open for further replies.

teqmod

Technical User
Sep 13, 2004
303
US
I was attempting to move our content DB to a new server as the one it is on is currently being retired. There are only the Search Services DB and a single content DB located on this server. I am using the following command: "stsadm -o preparetomove -contentdb oursharepointserver\officeservers:WSS_Content -site and I receive the error "A content database with the name WSS_Content does not exist on the specified server instance". Now I have confirmed the name of the content DB on the SQL server is WSS_Content and in the Central Administration page I have viewed site and found that the content DB is also listed as WSS_Content. Is there another way to determine what the name of our content DB is? Is there another way to do this? I was thinking of going the route of "stsadm –o deletecontentdb –url –databasename WSS_Content –databaseserver CurrentDB | stsadm –o addcontentdb –url –databasename WSS_Content –databaseserver newSQLDB" but I am a little nervous since the system does not recognize the current DB by name and I do not want to take the system down and not be able to bring it back easily. Unfortunately we have no dev environment here for this so any irreversible issues that cause the system to fail will result in me doing a full restore of the farm from backup.
 
This ended up being a parameter being incorrect in the command. The content DB was incorrect.
 
FYI the command "stsadm.exe -o enumcontentdbs" allowed me to view the content DBs to help determine the issue
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top