问题描述
大家好,
我们恢复了其中有一个站点的内容数据库的旧备份.但是在配置数据库中没有该站点的映射.因此,在SharePoint中装入数据库时,不显示该站点.
We restored an old backup of a content database which has one site in it. But there is no mapping of that site in the config database. Therefore when mounting the db in SharePoint not showing that site.
有人可以建议如何解决此问题,以便我们可以在SharePoint中获得该网站.
Can someone please suggest how to fix this so that we can get the site in SharePoint.
推荐答案
首先,您是否知道此bak文件是否未损坏?或者至少在过去曾工作过?
First at all, Do you know if this bak file is not corrupt? Or at least if worked in the past?
请问您可以使用Powershell还原此备份吗?
Could you please restore this backup using powershell?
Restore-SPFarm -Directory< BackupFolder> -RestoreMethod覆盖-Item< ContentDatabase> [-BackupId< GUID>] [-详细]
参考:https://docs.microsoft.com/zh-cn/SharePoint/administration/restore-a-content-database
Reference: https://docs.microsoft.com/en-us/SharePoint/administration/restore-a-content-database
这篇关于网站存在于内容数据库中,但不存在于配置数据库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!