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.
Hi
If the web application is already converted to claims in sharepoint 2013 and you remove the content DB and add the new content Database from Sp2010 with classic authentication then you need to run this command :
http://khalidansari.com/2013/06/07/migrate-from-classic-mode-to-cla…
script :
$acc = 'DOMAIN\SP_Farm'$arguments = New-Object Microsoft.SharePoint.Administration.SPWebApplication+SPMigrateUserParameters$arguments.AddDatabaseToMigrate($wa.ContentDatabases[0])# The line above only adds the first content database in# the web application for demonstration purposes. You may# need to iterate through your databases and add them all.$wa.MigrateUsersToClaims($acc, $false, $arguments)- Do not change the name of the parameter “$arguments” to anything else as this causes problems.
- if you use the SharePoint farm account as above then make sure the second parameter to the MigrateUsersToClaims method is set to $false.
As is said before the above will only be used if the SharePoint 2013 web app is a claim based web app and you are attaching a sp2100 classic mode DB.
