Thanks Bob. You led me down a route which ultimately fixed the issue.
In our case the -SourceInstanceName doesn't appear to be a valid parameter, so i'm guessing maybe we're running an older version. But there is an option of '-Instance' which we'd already tried with no luck.
However, I ran the omnidb command you mention and I noted that the instance name listed there was actually (DEFAULT) and not just DEFAULT as i'd been trying.
Sure enough the same command with '-instance (DEFAULT)' in it causes the restore to work. So it's not optional in this case. I presume it's only optional if you're not also specifying a destination instance.
Case closed.
Thanks for your help :-)
In our case the -SourceInstanceName doesn't appear to be a valid parameter, so i'm guessing maybe we're running an older version. But there is an option of '-Instance' which we'd already tried with no luck.
However, I ran the omnidb command you mention and I noted that the instance name listed there was actually (DEFAULT) and not just DEFAULT as i'd been trying.
Sure enough the same command with '-instance (DEFAULT)' in it causes the restore to work. So it's not optional in this case. I presume it's only optional if you're not also specifying a destination instance.
Case closed.
Thanks for your help :-)