Solved

Database Backup to Share Drive

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Please help| Getting the syntax error in below query. 2 42
Export import database 4 41
Optimizing a query 3 33
SQL Server - Slabs 9 36
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

919 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

16 Experts available now in Live!

Get 1:1 Help Now