By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,602 Members | 1,507 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,602 IT Pros & Developers. It's quick & easy.

i want to restore backup from Network drive in MSSQL server 2003

P: 1
I want to restore backup from mapped network drive which i have shared in MSSQL server 2003.
I have mapped a network drive & given sharing to the folder.
I am using a batch file to restore it...contains of the file is as below :
SQLCMD -i RESTORMIS.txt -o RESTOR_outpu.log
and RESTORMIS.txt contains as below :

MOVE 'MDATA01' to 'D:\DATA\RDCC_MIS\Mdata.ndf',
MOVE 'MINDEX01' to 'D:\DATA\RDCC_MIS\Mindex.ndf',
MOVE 'TDATA01' to 'D:\DATA\RDCC_MIS\Tdata.ndf',
MOVE 'TINDEX01' to 'D:\DATA\RDCC_MIS\Tindex.ndf',

After executing this batch file I am getting error log file contains as below :

"Msg 3201, Level 16, State 2, Server PRAKASH, Line 1
Cannot open backup device '\\\D$\DATA\CBS\FULL.BAK'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Server PRAKASH, Line 1
RESTORE DATABASE is terminating abnormally."

But if I put the address \\\D$\CBS\ in RUN command I am getting the file ..

Pl provide me the solution for above...
Feb 8 '11 #1
Share this Question
Share on Google+
1 Reply

P: 1
according to my experience, windows built in utilities sometimes are not so easy to use.
i've been using some third party server backup tools, such as easus todo backup, acronis backup and recovery, paragon drive backup.
easus is good both in features and price.
acronis is the best but too expensive for small business users.
paragon drive backup is not so reliable.
you can try them out.
Dec 13 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.