Hello SP Community
I need to know if the following is possible:
I am migrating some DBs from SP2010 to a whole new SP 2013 farm/environment. My steps are:
- Create a classic Web App in the SP2013 farm
- Restore 2010 DBs to the new SQL server
- Test the DBs against the 2013 Web App
- Mount the DBs to the 2013 Web App
- Convert to Claims
- Now the question is, if I have done this job last month, and I know wants to get it up to date with bacup-files of the 2010 DB, would it be possible just to roll the backup out on the 2013 Claims Web App.
- Or do I have to cleane up/delete everything from my SP2013 farm and then again do the migration process?
I really hope that I do not have to go with the last.
You got it… Â
PS – You might notice that I used 1099 port for the test web app in once case and 99 in another. Â The migrate process gets grumpy if you use lower port numbers, so I had to rerun and use a higher port….
Thanks. Think I will take a look at that chapter.
The last step, where you dismount the DB, you dismount it from your “test-web-app”, and mount it to your production “claims-web”, right?
Because I do have claims web-app, and I wish not to delete it and start over. So according to the stepts I will:
- create a new classic test-web-app,
- mount my classic DBs to it,
- convert the DBs with the Convert-SPWebApplication,
- then dismount them from that test-web-app,
- and mount the converted DBs to my production web-app?
Emo…
To expand a little further…
Create a web app with classic mode auth. Â
Mount your classic db there.
Convert the classic db to claims.
Dismount off the temporary web app
Mount on your production web app.
For example.
Please note that I have heavily relied on the book Professional SharePoint 2013 Administration to get this done… Â Chapter 5 has all the instructions.
WSS_Content is the production database that is in classic mode authentication from SP2010.
# p136 create empty web app used for migrating the WSS_Content db in classic auth mode.
New-SPWebApplication -name “Classic Web App” -url http://sp2013:1099 -ApplicationPool “ClassicAppPool” -ApplicationPoolAccount (Get-SPManagedAccount “mydomain\SP_Pool2013”) -DatabaseName WSS_Content_Classic
Test-SPContentDatabase -Name WSS_Content -WebApplication http://sp2013:1099 -ShowLocation
Mount-SPContentDatabase -Name WSS_Content -WebApplication http://cfcsp2013:99
# now that we migrated (with errors related to some features), lets do the claims conversion.
Convert-SPWebApplication -Identity http://cfcsp2013:99 -To Claims -RetainPermissions -From LEGACY
#ok… Done… Now, lets dismount and mount the db from the old web app to the new
Dismount-SPContentDatabase “WSS_Content”
Mount-SPContentDatabase -Name WSS_Content -WebApplication http://portal.test.local/
Should be mounted now in claims mode…
You cannot mount a classic auth database on a claims auth web app…Â
Just for clarification.Â
I cannot test it yet, but, is it possible to successfully mount a classic DB to a claims Web App. Would it throw mount errors or would it succeed?Â
