Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

Content DB attach upgrade from 2007 to 2010

  Asked By: Melissa    Date: Mar 13    Category: Sharepoint 2010    Views: 1902

I saw this post about testing a given content db for compatibility with a 2010

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?
the parameter is only for testing to see if that db will work in that web app..
Am I way off here?



2 Answers Found

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

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

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.