RRinTetons
IS-IT--Management
I am attempting to restore a SQL Server 2000 database onto a new SQL Server 2005 instance for testing. OldServer and NewServer are both in the same domain, I'm an admin in the domain. My domain account can run backup and restore scripts locally both servers.
From SSMS on NewServer I attempt to run:
I get the message:
---------------------------------------
Msg 3201, Level 16, State 2, Line 1
Cannot open backup device '\\OldServer\OldDB.BAK'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.
---------------------------------------
I've also tried it after deleting the empty MyDataBase on NewServer and removing the WITH REPLACE option - same result.
I've given the login account that's running the restore on the new server every permission I can on OldServer, but still the same error. I can map the volume from OldServer on NewServer and copy files from it just fine. SMSS can connect to the database server on OldServer just fine, although it cannot run the Copy Databse Wizard. I'm assuming that's something to do with permission for DTS as the error is just 'the job failed' with no further detail.
Does the query from SMSS on NewServer run under the login account with which I logged into NewServer?
If not, what account does it run under?
If so, what permissions might be addtionally required to get it to run?
I'd love to just copy the bak file locally and do the restore from the wizard, but it's too big and the wizard doesn't like restoring from a remote volume.
I'm a bit puzzled...
-
Richard Ray
Jackson Hole Mountain Resort
From SSMS on NewServer I attempt to run:
Code:
RESTORE DATABASE MYDataBase
FROM DISK = '\\OldServer\OldDB.BAK'
WITH REPLACE
I get the message:
---------------------------------------
Msg 3201, Level 16, State 2, Line 1
Cannot open backup device '\\OldServer\OldDB.BAK'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.
---------------------------------------
I've also tried it after deleting the empty MyDataBase on NewServer and removing the WITH REPLACE option - same result.
I've given the login account that's running the restore on the new server every permission I can on OldServer, but still the same error. I can map the volume from OldServer on NewServer and copy files from it just fine. SMSS can connect to the database server on OldServer just fine, although it cannot run the Copy Databse Wizard. I'm assuming that's something to do with permission for DTS as the error is just 'the job failed' with no further detail.
Does the query from SMSS on NewServer run under the login account with which I logged into NewServer?
If not, what account does it run under?
If so, what permissions might be addtionally required to get it to run?
I'd love to just copy the bak file locally and do the restore from the wizard, but it's too big and the wizard doesn't like restoring from a remote volume.
I'm a bit puzzled...
-
Richard Ray
Jackson Hole Mountain Resort