hi everyone,
I'm trying to restore a database (from tape) to a new db name on another SQL Server 2000 server. Let's call them Server1 and Server2. Both are on the same domain. The tape drive is attached to Server1 and I'm trying to restore to Server2.
I even tried using the server name \\Server2\C$\Webdata
in place of the mapped drive letter, but that failed with same error.
Maybe I mis-coded the syntax for the RESTORE DATABASE...here it is:
Thanks for any ideas. John
RESTORE DATABASE [gmRestored] FROM TAPE = N'\\.\Tape0' WITH FILE = 1, NOUNLOAD , STATS = 10, RECOVERY , MOVE N'gm_Data' TO N'T:\WebData\gmRestored.mdf', MOVE N'gm_Log' TO N'T:\WebData\gmRestored.ldf'
failed:
Server: Msg 5110, Level 16, State 2, Line 1
File 'T:\WebData\gmRestored.mdf' is on a network device not supported for database files.
Server: Msg 3156, Level 16, State 1, Line 1
File 'gm_Data' cannot be restored to 'T:\WebData\gmRestored.mdf'. Use WITH MOVE to identify a valid location for the file.
Server: Msg 5110, Level 16, State 1, Line 1
File 'T:\WebData\gmRestored.ldf' is on a network device not supported for database files.
Server: Msg 3156, Level 16, State 1, Line 1
File 'gm_Log' cannot be restored to 'T:\WebData\gmRestored.ldf'. Use WITH MOVE to identify a valid location for the file.
Server: Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.
I'm trying to restore a database (from tape) to a new db name on another SQL Server 2000 server. Let's call them Server1 and Server2. Both are on the same domain. The tape drive is attached to Server1 and I'm trying to restore to Server2.
I even tried using the server name \\Server2\C$\Webdata
in place of the mapped drive letter, but that failed with same error.
Maybe I mis-coded the syntax for the RESTORE DATABASE...here it is:
Thanks for any ideas. John
RESTORE DATABASE [gmRestored] FROM TAPE = N'\\.\Tape0' WITH FILE = 1, NOUNLOAD , STATS = 10, RECOVERY , MOVE N'gm_Data' TO N'T:\WebData\gmRestored.mdf', MOVE N'gm_Log' TO N'T:\WebData\gmRestored.ldf'
failed:
Server: Msg 5110, Level 16, State 2, Line 1
File 'T:\WebData\gmRestored.mdf' is on a network device not supported for database files.
Server: Msg 3156, Level 16, State 1, Line 1
File 'gm_Data' cannot be restored to 'T:\WebData\gmRestored.mdf'. Use WITH MOVE to identify a valid location for the file.
Server: Msg 5110, Level 16, State 1, Line 1
File 'T:\WebData\gmRestored.ldf' is on a network device not supported for database files.
Server: Msg 3156, Level 16, State 1, Line 1
File 'gm_Log' cannot be restored to 'T:\WebData\gmRestored.ldf'. Use WITH MOVE to identify a valid location for the file.
Server: Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.