473,325 Members | 2,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

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

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 :

RESTORE DATABASE PRODRDCC
FROM DISK = '\\192.168.0.91\D$\DATA\CBS\FULL.BAK'
WITH
MOVE 'SDCPROD' to 'D:\DATA\RDCC_MIS\PRODRDCC.mdf',
MOVE 'SDCPROD_log' to 'D:\DATA\RDCC_MIS\PRODRDCC_log.ldf',
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',
REPLACE
GO

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 '\\192.168.0.91\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 \\192.168.0.91\D$\CBS\ in RUN command I am getting the file ..

Pl provide me the solution for above...
Feb 8 '11 #1
1 2464
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

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

Similar topics

3
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore...
2
by: AMD | last post by:
Hi, I would like to have MySQL use a mapped network drive. I'd like to do this in case there is a failure of the mysql machine, I can just replace it with a new machine pointing to the same...
1
by: Tommy.Vincent | last post by:
Hi, When i use to work on Windows 2000 advance server and Sql 2000 I was able to do network restoration by using a mapped drive where my backup use to be lying.What i did was I assigned...
6
by: Charles Morrall | last post by:
I have no experience with DB2 as such, but I've been tasked with configuring backup of a server running DB2 v8 on Windows Server 2003. I do have some experience with backups in general though. The...
2
by: Dabulsta | last post by:
I am trying to design a network using Windows Server 2003 Active Directory infrastructure for the following company(below) and I was wondering if there was some sort of walk through available to...
4
by: Christian Maslen | last post by:
Hi All, I understand in older versions of DB2/UDB this was not possible. The following article explains how I might do this ...
2
by: Daffydd | last post by:
Hi all, We have a very small office, about 12 workstations, connected together with a Dell Poweredge running Windows Small Business Server 2003. We have about 50 or GBs of data we need to back up ...
2
blyxx86
by: blyxx86 | last post by:
Hey Everyone, I'm currently trying to recover from a server breach (when I was put in charge of the server there was no AV and no firewall for about 4 months before). It appears that the server has...
2
by: KLynnM333 | last post by:
We have a Windows 2003 R2 SP2 webserver that is currently backed up using ntbackup (the Windows backup tool). Our backups are stored on a shared drive of our file/print server. The webserver...
0
by: cachi77 | last post by:
Is it possible to use a Network drive or server UNC path for datadir? at my.ini I tried using: #Path to the database root datadir=s:/MySQL/Data/ or #Path to the database root...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.