SharePoint Variation - Site Collection Back up & Restore

Mohammad Bahsoun 26 Reputation points
2022-01-20T13:06:02.443+00:00

Dears,

I have SharePoint 2019 and the SharePoint variation was configured (2 labels created) and I need to back up the site collection and restore it in a different web application, so my question is, what is the best practices to do this action (Backup & Restore with variation) in new web application.

Note: Site collection template used is: Publishing Portal

Best Regards,
Mohamad

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,675 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 41,941 Reputation points Microsoft Vendor
    2022-01-21T11:01:16.58+00:00

    @Mohammad Bahsoun

    Here're steps.

    1.Backup the site collection by using stsadm.

    stsadm -o backup -url http://sp19/sites/publishingportal -filename myBackup.bckSee  
    

    2.Create a new web application 81. Then create a new site collection named publishingportal in the new web application 81.
    3.Go to the new site collection named publishingportal in the new web application 81, then create variation lables same as which created in the site you backup.
    4.Restore your backup and overwrite by using stsadm.

    stsadm -o restore -url http://sp19:81/sites/publishingportal -filename myBackuptest.bckSee –overwrite  
    

    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.