If you are trying to Migrating SharePoint 2010 to SharePoint 2013, here are few of the steps, you can follow:
1. Take DB backup of the SharePoint content databases by command or using SSMS
USE [master]
RESTORE DATABASE
[WSS_Content_1010_ABC]
FROM DISK =
N'<yourPath\bak.bak>' WITH FILE = 1,
MOVE N'WSS_Content_ABC' TO N'<PATH>\WSS_Content_ABC.mdf',
MOVE N'WSS_Content_ABC1' TO N'D:\SQL_Sharepoint\DATA\WSS_Content_ABC_new.ndf',
MOVE N'WSS_Content_ABC_log' TO N'<Path>\WSS_Content_ABC_log.ldf',
NOUNLOAD, STATS = 5
GO
New-SPWebApplication -Name {Name} -ApplicationPool {ApplicationPool} -AuthenticationMethod {WindowsAuthType} -ApplicationPoolAccount {ApplicationPoolAccount} -Port {Port} -URL {URL}
Dismount-SPContentDatabase "{ContentdBName}"
Test-SPContentDatabase -Name '{database name}' -WebApplication {url of web application} | Out-File {log path}
Mount-SPContentDatabase {database name} -DatabaseServer {database server name} -WebApplication {web application url} -AssignNewDatabaseId
$webApp = Get-SPWebApplication -identity "http://trax/"
$webApp.UseClaimsAuthentication = $true
$webApp.ProvisionGlobally()
$webApp.Update()
$webApp.MigrateUsers($true)
Convert-SPWebApplication -Identity "http://trax/" -To Claims -RetainPermissions -Force
Move the Database from old SQL instance to new one
1. Take DB backup of the SharePoint content databases by command or using SSMS
2. Restore the database - Execute the following command in SQL
USE [master]RESTORE DATABASE
[WSS_Content_1010_ABC]
FROM DISK =
N'<yourPath\bak.bak>' WITH FILE = 1,
MOVE N'WSS_Content_ABC' TO N'<PATH>\WSS_Content_ABC.mdf',
MOVE N'WSS_Content_ABC1' TO N'D:\SQL_Sharepoint\DATA\WSS_Content_ABC_new.ndf',
MOVE N'WSS_Content_ABC_log' TO N'<Path>\WSS_Content_ABC_log.ldf',
NOUNLOAD, STATS = 5
GO
2. Create a new webapp in classic mode using PowerSheel
New-SPWebApplication -Name {Name} -ApplicationPool {ApplicationPool} -AuthenticationMethod {WindowsAuthType} -ApplicationPoolAccount {ApplicationPoolAccount} -Port {Port} -URL {URL}
3. Remove content DB
Run following Powersheel commandDismount-SPContentDatabase "{ContentdBName}"
4. Test Old Content Database
Run following Powersheel commandTest-SPContentDatabase -Name '{database name}' -WebApplication {url of web application} | Out-File {log path}
5. Attach the DB
Mount-SPContentDatabase {database name} -DatabaseServer {database server name} -WebApplication {web application url} -AssignNewDatabaseId
6. Migrate from classic to clam based
Run following Powersheel command$webApp = Get-SPWebApplication -identity "http://trax/"
$webApp.UseClaimsAuthentication = $true
$webApp.ProvisionGlobally()
$webApp.Update()
$webApp.MigrateUsers($true)
Convert-SPWebApplication -Identity "http://trax/" -To Claims -RetainPermissions -Force
7. Visual Migration
Do the visual migration when the SharePoint UI asks you.
Comments
Post a Comment