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”):a Restore-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 ite PS C:\Users\spadmin> Mount-SPContentDatabase –Name "WSS_Content_80" –WebApplication "http://hz0xw002049:8099" Id : 0d9c4d5f-54c4-4e3f-bd98-27c094e763cc Name : WSS_Content_80 WebApplication : SPWebApplication Name=SharePoint - 8099 Server : HZ0XW002049 CurrentSiteCount : 1