PS c:\users\spadmin> restore-spsite Http://hz0xw002049:8099-Path D:\20170731MossSiteSP.bak-Force-DatabaseServer Hz0xw002049-databasename wss_content2017 confirm that you are sure you want to do this? The action "Restore-spsite" is being performed on the target "http://hz0xw002049:8099". [Y] is (y) [a] is all (a) [n] No (n) [l] No (l) [s] Hang (s) [?] Help (default = "Y"): Arestore-spsite: <nativehr>0x80070003</nati Vehr><nativestack></nativestack> Location Line: 1 character: 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:\User s\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 error, use database restore