SharePoint PowerShell命令备份还原报错

【SharePoint PowerShell命令备份还原报错】分享给互联网技能从业者学习和参考。

错误截图:

                


SharePoint PowerShell命令备份还原报错

 

  文字描述:

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

At line:1 char:1

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

D:backupDBT123 ...

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

~~~

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

   SPCmdletRestoreSite) [Restore-SPSite], DirectoryNotFoundException

    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRestoreS

   Ite

  错误描述:

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

SharePoint PowerShell命令备份还原报错