SharePoint 2013 PowerShell命令备份还原报错

时间:2024-01-07 10:09:56

  错误截图:

SharePoint 2013 PowerShell命令备份还原报错

  文字描述:

Restore-SPSite : <nativehr>0x80070003</nativehr><nativestack></nativestack>

At line:1 char:1

+ Restore-SPSite http://localhost/sites/test -Path

D:\backup\DBT123 ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~

+ CategoryInfo          : InvalidData: (Microsoft.Share...dletRestoreSite:

SPCmdletRestoreSite) [Restore-SPSite], DirectoryNotFoundException

+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRestoreS

Ite

  错误描述:

  SharePoint 2013备份还原,执行PowerShell命令Restore的时候,控制台报错;经过检查发现之前被系统部打过补丁,然后没有运行过配置向导,重新运行一下配置向导,再次备份还原,就不会报错了。