Sharepoint 2010 Forum

 
Home » Forum » Sharepoint 2010       Ask a questionRSS Feeds

Content DB attach upgrade from 2007 to 2010

  Asked By: Melissa Lewis         Date: Mar 13, 2010      Category: Sharepoint 2010      Views: 535
 

I saw this post about testing a given content db for compatibility with a 2010
farm.
www.sharepointjoel.com/.../Post.aspx?List=0cd1a63d%2D183c%2D4fc2%\
2D8320%2Dba5369008acb&ID=288

here is the basic command in PS:
Test-SPContentDatabase –Name <database name> -WebApplication <URL>
So my question involves the process..
I am moving a content db to a server that is hosting a SP2010 farm and sql 2008.
I restore the db in the new sql in the new farm.
At this point, the db is not attached to the farm..it only exists in the db so
how can I put a parameter for the web app since it is not part of the web app?
UNLESS..
the parameter is only for testing to see if that db will work in that web app..
Am I way off here?

Tagged:                

 

2 Answers Found

 
Answer #1       Answered By: Anuj Lakhe          Answered On: Mar 13, 2010       

The web app URL is just so that Test-SPContentDatabase can test if that
database will work with that web app. Since some functionality is scoped
at the web application level, that's really the only way for it to
determine if the site collections in that content  database will work
when attached.

 
Answer #2       Answered By: Lee Dickerson          Answered On: Mar 13, 2010       

Cool, thanks for the reply..
That is what I thought and went ahead and tried it in a test environment.
And lo and behold, it worked..

 
Didn't find what you were looking for? Find more on Content DB attach upgrade from 2007 to 2010 Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].