I'm trying to restore from a backup via PowerShell with the following commands:
add-pssnapin Microsoft.SharePoint.PowerShell
restore-spsite -Force -Confirm:$false -Identity https://uslv-acsw-t4.dev.local:5000/ -Path C:\2012-07-31-Backup\Home.bak
It's failing with the following (frankly useless) error:
Restore-SPSite : Cannot complete this action.
Please try again.
At line:1 char:15
+ restore-spsite <<<< -Force -Confirm:$false -Identity https://uslv-acsw-t4.dev.local:5000/ -Path C:\2012-07-31-Backup\Home.bak
+ CategoryInfo : InvalidData: Microsoft.Share...dletRestoreSite:SPCmdletRestoreSite) [Restore-SPSite], SPException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRestoreSite
What is causing this error and how can I fix it?
