首页 > 代码库 > sharepoint2013 Restore-SPSite 报错,采用数据库还原

sharepoint2013 Restore-SPSite 报错,采用数据库还原

PS C:\Users\spadmin> Restore-SPSite http://hz0xw002049:8099 -Path D:\20170731MossSiteSP.bak -Force -DatabaseServer hz0xw002049 -DatabaseName WSS_Content2017确认是否确实要执行此操作?正在目标“http://hz0xw002049:8099”上执行操作“Restore-SPSite”。[Y] 是(Y)  [A] 全是(A)  [N] 否(N)  [L] 全否(L)  [S] 挂起(S)  [?] 帮助(默认值为“Y”):aRestore-SPSite : <nativehr>0x80070003</nativehr><nativestack></nativestack>所在位置 行:1 字符: 1+ Restore-SPSite http://hz0xw002049:8099 -Path D:\20170731MossSiteSP.bak -Force -D ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : InvalidData: (Microsoft.Share...dletRestoreSite:   SPCmdletRestoreSite) [Restore-SPSite],DirectoryNotFoundException    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRestoreS   itePS C:\Users\spadmin> Mount-SPContentDatabase –Name "WSS_Content_80"  –WebApplication "http://hz0xw002049:8099"Id               : 0d9c4d5f-54c4-4e3f-bd98-27c094e763ccName             : WSS_Content_80WebApplication   : SPWebApplication Name=SharePoint - 8099Server           : HZ0XW002049CurrentSiteCount : 1

  

sharepoint2013 Restore-SPSite 报错,采用数据库还原