Solved

Database Backup to Share Drive

Posted on 2008-10-24
4
1,042 Views
Last Modified: 2012-05-05
Here is the script I am trying to run:
BACKUP DATABASE Adhoc TO DISK = '\\American3\data\USERDATA\AVILLASENOR\Adhoc.BAK'


Here is the error message I get:
Msg 3201, Level 16, State 1, Line 15
Cannot open backup device '\\American3\data\USERDATA\AVILLASENOR\Adhoc.BAK'. Operating system error 3(The system cannot find the path specified.).
Msg 3013, Level 16, State 1, Line 15
BACKUP DATABASE is terminating abnormally.

Let me know what other quesitons you may have.
0
Comment
Question by:walfe31
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 15

Expert Comment

by:jorge_toriz
ID: 22798888
Until I know... you can't backup on shared device
0
 
LVL 39

Accepted Solution

by:
BrandonGalderisi earned 500 total points
ID: 22854057
The account that SQL Server is running as does not have access to the network share:

\\American3\data\USERDATA\AVILLASENOR\

On the SQL Server, Open the services control panel Item, find SQL Server (SQL Server most likely).
Right Click > Properties > Logon

If you have local system, or NT Authority\(network account or system) then it won't work.

You need to change SQL Server to login as an account that has DOMAIN privileges to that share.
0
 
LVL 15

Expert Comment

by:jorge_toriz
ID: 22882766
The solution is that you CAN'T backup databases to a share drive, well, I think that you can connect a USB disk and then get your backup
0
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 22882806
You can backup to any location that SQL Server can access as described in http:#22854057
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

634 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question