Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / productivity / SharePoint

Live Migration of SharePoint 2010 to SharePoint 2013

4.73/5 (12 votes)
4 Nov 2013CPOL3 min read 110.5K  
This post will give you a step by step process on how you upgrade your SharePoint 2010 to SharePoint 2013.

This post will give you a step by step process on how you upgrade your SharePoint 2010 to SharePoint 2013. While this is a live migration, I suggest you do proper backups of the server and the database before continuing. Having said that, live migration means that you can upgrade your SharePoint instance from one server to another without any downtime, but during the process anything that happens between like adding new items on the list or deleting a wiki page will not be captured after the copy database has been performed.

I will also assume that you all have the prerequisites with you before starting this process.

Lets start!

  1. Install SharePoint 2013 on a new separate server.

    01 Install Prerequisites

  2. Use the configuration wizard.

    02 Configuration

  3. Choose “create a new server farm”.

    03 Create Server Farm

  4. Choose a server and a database name.

    04 Database Settings

  5. Get a passphrase then store it in a secure location, you will need this in the future.

    05 Farm Security

  6. Choose a security setting.

    06 Security Settings

  7. Verify everything is OK.

    07 Summary

  8. Wait while server is configuring.

    08 Installing

  9. Smile, the installation is successful.

    09 Successful

  10. Go to the SharePoint 2013 Central Administration of your new SharePoint, when this shows, it's all good.

    10 Sharepoint Admin Site

  11. Go to your old SharePoint database, then copy the WSS_Content database.

    11 Copy Old Database

  12. Verify source server properties.

    12 Source Server

  13. Set your destination SQL Server.

    13 Destination Server

  14. Select the Transfer Method, use the SQL Management Object method if you want a live migration.

    14 Transfer Method

  15. Select a database to copy, you will only need WSS_Content.

    Image 15

  16. Configure the properties of Destination Database.

    16 Configure Destination Database

  17. Select Objects, you only need Logins here.

    17 Objects to Migrate

  18. Saving the package created.

    18 Migration Package Settings

  19. Run immediately, you can also schedule them.

    19 Run Immediately

  20. Look at the summary.

    20 Summary

  21. Wait while it's performing the copy, this will take a while so get yourself a coffee.

    21 Execution

  22. Once done, go back to SharePoint 2013 Central Administration and set your SharePoint instance to use the copied WSS_Content database. Go to Application Management -> Manage Web Applications.

    22 Configure New Sharepoint Server

  23. Create a new Web Application.

    23 New Web Application

  24. Set new web application properties.

    24 Create New Web Application

  25. Your application is now created.

    25 Application Created

  26. Now you need to set that new web application to use the copied WSS_Content database, you need to do this in SharePoint 2013 Management Shell.

    26 Management Shell

  27. Test the database you just copied over by issuing this command:
    Test-SPContentDatabase -Name WSS_Content -WebApplication http://YourNewSharepointServer

    27 Test Content Database

  28. Now mount them by issuing this command.
    Mount-SPContentDatabase -Name WSS_Content -WebApplication http://YourNewSharepointServer

    28 Mount

  29. Now that it's mounted, you need to delete the default WSS_Content database created during the installation process.

    30 Manage Content Databases

  30. Choose the default WSS_Content instance, if it's a fresh install usually it's the one with 0 (zero) site collection items.

    31 Select what to delete

  31. Tick remove, then hit OK.

    32 Remove Content Database

  32. Manage your paths.

    33 Manage Paths

  33. Copy the same as your old SharePoint 2010 instance.

    34 Set Path

  34. Congratulations! You have upgraded your SharePoint instance, but not yet quite there. It still looks like the old SharePoint. If you notice there is a pink ribbon on top, click on start now to start upgrade how it looks.

    35 First Load

  35. Prepare for takeoff, click the upgrade button

    36 Upgrade Site Collection

  36. Confirm it.

    37 Confirm

  37. Now it's doing some checks.

    38 Processing

  38. Any problems found will show here, all customized forms will be presented as well as templates not supported, the one on red needs to be fixed before continuing, orange is fine it's just saying that the looks won't be the same as the old one.

    39 Errors

  39. Click again on the start now ribbon when all in red are fixed, it will be by a case to case basis. Now, it's upgrading and the page will refresh automatically.

    40 Upgrading Process

  40. It will show you the progress once it refreshed.

    41 Upgrading Process

  41. Now it's all done.

35 Contents

Please take note this will be really easy and seamless if you don’t have custom development done on your old SharePoint, like customized webparts. For those who have some customized solution, I am in the process of writing an article on how to migrate them as well, so please watch this space.

Filed under: CodeProject, Configuration, Servers Tagged: Sharepoint, Sharepoint Foundation 2010, Sharepoint Foundation 2013, SQL Server Image 42 Image 43

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)