SharePoint Variation - Site Collection Back up & Restore

Mohammad Bahsoun 21 Reputation points


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,

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,389 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 36,276 Reputation points Microsoft Vendor

    @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.