SharePoint on-premise site collection migration refers to the process of moving a site collection from one SharePoint on-premise environment to another on-premise environment or to SharePoint Online. This process is used when organizations need to upgrade their existing SharePoint environment, consolidate multiple site collections into a single environment, or move site collections to a cloud-based solution.

The steps involved in SharePoint on-premise site collection migration include:

  • Determine the scope of the migration, identify the site collections to be migrated, and plan the migration timeline.
  • Check the compatibility of the source and destination environments, set up the destination environment, and test the migration process.
  • Copy the site collection and its content, data, and settings from the source environment to the destination environment.
  • Verify that the site collection has been successfully migrated and that the destination environment is functioning correctly.
  • Finalize the migration, update the URLs, and configure the environment as needed.

The process of SharePoint on-premise site collection migration can be complex, especially when migrating a large amount of data, so it’s recommended to use a migration tool or engage a professional migration services provider to ensure a smooth migration process.

Different Ways to Migrate a Site Collection

You can copy an existing site collection to a different web application in SharePoint. You have several options to do this, including:

  • SharePoint Backup and Restore
  • Export and Import using PowerShell
  • 3rd Party Tools (e.g. Sharegate, Metalogix, etc.)

It’s not necessary to create a blank site collection prior to copying an existing site collection. However, you need to have the correct permissions to access and copy the site collection, such as the “Backup and Restore” permission in SharePoint.

Export and Import method using PowerShell

Here is an example of copying a site collection using the Export and Import method with PowerShell:

  1. Open the SharePoint Management Shell as an administrator
  2. Run the following command to export the site collection:

Export-SPWeb -Identity http://SpDev2019/sites/Source_Site_Collection -Path "C:\Export\source_site_collection.cmp"

  1. Run the following command to import the site collection to a different web application:

Import-SPWeb -Identity http://SPProd2019/sites/Destination_site_collection -Path "C:\Export\source_site_collection.cmp"

Adnan, a distinguished professional, boasts an impressive track record as a Microsoft MVP, having achieved this prestigious recognition for the eighth consecutive year since 2015. With an extensive career spanning over 18 years, Adnan has honed his expertise in various domains, notably excelling in SharePoint, Microsoft 365, Microsoft Teams, the .Net Platform, and Microsoft BI. Presently, he holds the esteemed position of Senior Microsoft Consultant at Olive + Goose. Notably, Adnan served as the MCT Regional Lead for the Pakistan Chapter from 2012 to 2017, showcasing his leadership and commitment to fostering growth within the tech community. His journey in the realm of SharePoint spans 14 years, during which he has undertaken diverse projects involving both intranet and internet solutions for both private and government sectors. His impact has transcended geographical boundaries, leaving a mark on projects in the United States and the Gulf region, often collaborating with Fortune 500 companies. Beyond his roles, Adnan is a dedicated educator, sharing his insights and knowledge as a trainer. He also passionately advocates for technology, frequently engaging with the community through speaking engagements in various forums. His multifaceted contributions exemplify his dedication to the tech field and his role in driving its evolution.

Leave a Reply