Restore failed for Server 'servername'. (Microsoft.SqlServer.SmoExtended)
System.Data.SqlClient.SqlError: RESTORE could not start database 'ECP'. (Microsoft.SqlServer.Smo)
The database is created, but is not accessible using Object Explorer:
The database ECP is not accessible. (ObjectExplorer)
Thanks for any advice on how I can make the database work.
EDIT: This query
select state_desc from sys.databases where name = 'ECP';
returns RECOVERY_PENDING
.
I deleted the database again and had a new try with
restore verifyonly from disk = 'path\file';
This returns
Attempting to restore this backup may encounter storage space problems. Subsequent messages will provide details.
The path specified by "F:\ECPDATA1\ECPDATA1.mdf" is not in a valid directory.
Directory lookup for the file "F:\ECPDATA2\ECPDATA2.ndf" failed with the operating system error 3(failed to retrieve text for this error. Reason: 15100).
Directory lookup for the file "F:\ECPDATA3\ECPDATA3.ndf" failed with the operating system error 3(failed to retrieve text for this error. Reason: 15105).
Directory lookup for the file "F:\ECPDATA4\ECPDATA4.ndf" failed with the operating system error 3(failed to retrieve text for this error. Reason: 15105).
Directory lookup for the file "E:\ECPLOG1\ECPLOG1.ldf" failed with the operating system error 21(failed to retrieve text for this error. Reason: 15105).
The backup set on file 1 is valid.
Since it says, that the backup set is valid, I just have to get the files specified, to make it work, right? But on this server I don't have a drive E:
or F:
. How can I adjust this in the backup file? Or is it possible (I'm not that familiar with windows-server-2008-r2) to have some kind of symlinks like on linux?
WITH MOVE
?