I have a datafile backup "mydb.bak" from SERVER1(source) and I copied to SERVER2(destination) "c:\backup" folder
Now, If I run "RESTORE FILELISTONLY from C:\backup\mydb.bak"
on Server2
Result is:
logic name Physical Loc
mydata E:\xxx\xx\mydata.mdf
mylog C:\xxx\xx\mylog.ldf
Question is.. On my Destination server ( SERVER2), I dont have E:\
How can I copy the backup from Server1 to Server2 so that I can have "mydb" database running on SERVER2?
Do I have to create "mydb" database first on server2 and then use restore command?
Now, If I run "RESTORE FILELISTONLY from C:\backup\mydb.bak"
on Server2
Result is:
logic name Physical Loc
mydata E:\xxx\xx\mydata.mdf
mylog C:\xxx\xx\mylog.ldf
Question is.. On my Destination server ( SERVER2), I dont have E:\
How can I copy the backup from Server1 to Server2 so that I can have "mydb" database running on SERVER2?
Do I have to create "mydb" database first on server2 and then use restore command?