Solved

Database Backup to Share Drive

Posted on 2008-10-24
4
1,036 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
  • 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
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.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now