Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
jung1975
Aged Yak Warrior
503 Posts |
Posted - 2009-01-29 : 15:02:24
|
I am trying to restore a db using a backup where is located in differetn network server \\server1\D$\SQLBackup\Db1_012609.bakI am trying to use a below script but keep getting an error saying 'can not open this file,, wrong path'.. but the path is correct.. it 's in D:\SQLBackup in SERVER 1 .. what am i doing wrong here? RESTORE DATABASE Db1FROM DISK = N'\\server1\D$\SQLBackup\Db1_012609.bak' WITH FILE = 1, MOVE N'Db1' TO N'E:\mssql\MSSQL.1\MSSQL\Data\Db1.mdf', MOVE N'Db1_log' TO N'E:\mssql\MSSQL.1\MSSQL\Data\Db1_log.ldf', NOUNLOAD, REPLACE, STATS = 10GO |
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2009-01-29 : 15:05:03
|
Can you open UNC path from RUN?\\server1\D$\SQLBackup |
 |
|
jung1975
Aged Yak Warrior
503 Posts |
Posted - 2009-01-29 : 17:25:23
|
yes I can open it |
 |
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2009-01-29 : 17:28:31
|
Why don't you copy backup file to your Server and then do local Restore? |
 |
|
|
|
|