Migrating test site collection to production in Sharepoint Server 2019

Noorul Ahmed 61 Reputation points
2021-12-08T06:31:12.93+00:00

Hello everyone,

What are the options of moving a site collection from a UAT environment to a production environment. We want to perform updates to our SP Site collection in testbed and once tested successfully, move it to production. The production is already running an earlier version of the site, let's say v 1.00 and we want to move the site in UAT environment (v 2.00) to production. What are the methods to achieve it safely.

Thanks

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments
{count} votes

Accepted answer
  1. Allen Xu_MSFT 13,866 Reputation points
    2021-12-08T08:22:59.883+00:00

    Hi @Anonymous ,

    Do you want to copy a site collection to another web application or another farm in SharePoint? Well, follow these steps to copy site collection to same/another farm.

    1. Create a new Web application
    2. Backup the live site collection
    3. Restore the backup into the target web application
      • Backup the Source Site Collection: Backup-SPSite -Identity "http://contoso.com" -Path "D:\backup\portal.bak" -Force -NoSiteLock -Confirm:$False
      • Restore the backup into Target Site collection: Restore-SPSite "http://Astralis.com" -Path "D:\backup\portal.bak" -Force -Confirm:$False
        You can use this method to copy a site collection to same server or another server or another web application in SharePoint. Remember to do the following: Install & Deploy any Farm level feature to the newly created Web Application from Central Admin; Configure Web App settings, such as: Web Application policy, Outgoing Email settings, etc.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.