May 6, 2018

Migrating SharePoint 2010 Applications to SharePoint 2013 On-Premises


·         Take backup from the SP 2010 SQL Server.

·         Steps for restoring the SharePoint 2010 application DB to 2013 DB.
 
-- Get the backup from the SharePoint 2010 DB.
-- Go to the SharePoint 2013 DB server and open the SQL Server Management Studio.
-- Right click on the ‘Databases’.

-- Click on the ‘Restore Database’.
-- Select the ‘Device’ option
-- Click on ‘Add’ from the pop-up screen as below.
-- On clicking of ‘Add’, one more pop-up will be opened and browse to the location where the database backup is located and select the backup folder and click ‘ok’.

-- Again click ‘ok’ as shown in below screen.
-- Rename the database that to be created in 2013 as shown below

-- Then click ‘ok’ for restoring. 
-- Once the database restoring is done, a message will be shown
-- Verify that the database comes up in the ‘Databases’ list.


Then open the SharePoint 2013 Management Shell and create a CLASSIC-BASED Web Application because in SP 2010 , applications run with Classic Mode Authentication.
Command – 

New-SPWebApplication -name "<Application Name>" -url <Application URL> -ApplicationPool "<Application Pool>" -ApplicationPoolAccount RESOURCE\SPFarmSVC_SP2013D -DatabaseName <Application DB Name> -AuthenticationMethod "NTLM"

-- Then go to the SP 2013 Central Admin and check whether the application is created or not.

-- Then open the SharePoint 2013 Management Shell and type the below command and enter.


Command - 

Test-SPContentDatabase -name "<Application DB Name>" -Webapplication <Application URL>

-- If you don’t see any issues over there, then run the Mount-SPContentDatabase command in PowerShell.

Command - 

Mount-SPContentDatabase -name "<Application DB Name>" -Webapplication <Application URL>

 – Then go to the SharePoint 2013 Management Shell and type the below command to convert the application from CLASSIC to CLAIMS authentication type.

Command - 

Convert-SPWebApplication –Identity <Application Name> -To Claims –RetainPermissions –From LEGACY


-- Dismount the database from the newly created application
Command - 
Dismount-SPContentDatabase <Application DB Name>

-- Then Mount the database to the already existing SP 2013 Web Application with Claims Authentication.
Command - 
Mount-SPContentDatabase -name "<Application DB Name>" -Webapplication <Application URL>

-- Now browse the Applications URL.
-- Click on 'Start Now' for Visual Upgrade if you are 'OKAY' with data that got migrated after verification
-     -- If the site is very big and complicated we can have a preview of the visually upgraded site by clicking on “Start now”.
--    -- Then click on “Try a Demo Upgrade”
      -- Click on “Create Upgrade Evaluation Site Collection”, which will take 1-2 days to create a separate temporary site collection with visual upgrading is done.
       


No comments:

Migrate SharePoint 2010 Infopath to SharePoint Online

 Below are the steps to follow to migrate the Infopath data to SP Online.