Why Sharepoint site not restore to other machine

qasimidl 106 Reputation points
2021-11-09T18:15:23.99+00:00

Greetings

Using sharepoint 2019

Problem: i take site back from 1 server machine using power shell to restore it to other machine( here i created new team site ).

Its shows message site not display after restorition.

Solution required..what to do to take site back to restore it to other machine succesfully
.its quite nomal , i have done this activity in past on other machines successfully but why this site is not resotred sucessfully ?

Thanks

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

2 answers

Sort by: Most helpful
  1. CaseyYang-MSFT 10,461 Reputation points
    2021-11-10T03:14:59.447+00:00

    Hi @qasimidl ,

    1.Please make sure you have the following memberships:

    • securityadmin fixed server role on the SQL Server instance.
    • db_owner fixed database role on all databases that are to be updated.
    • Administrators group on the server on which you are running the PowerShell cmdlets.

    2.You could use the following PowerShell commands to restore your SharePoint site:

    Restore-SPSite -Identity <SiteCollectionURL> -Path <Backup file> [-DatabaseServer <DatabaseServerName>] [-DatabaseName <ContentDatabaseName>] [-HostHeader <Host header>] [-Force] [-GradualDelete] [-Verbose]  
    

    - <SiteCollectionURL> is URL for the site collection you want to restore.

    • <DatabaseServerName> is name of the database server where the site collection resides.
    • <ContentDatabaseName> is the name of the content database.

    For Reference: Restore site collections in SharePoint Server


    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.


  2. sadomovalex 3,636 Reputation points
    2021-11-10T15:29:33.9+00:00

    how exactly you took backup of site in source and how you restore it on target farm? Do you use BackupSPSite/Restore-SPSite for that? If yes were there any errors in PowerShell or in logs during restore? And also do you use the same SP2019 version (up to CU/patch level) both on source and target farms?


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.