Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Database Backup to Share Drive

Posted on 2008-10-24
4
Medium Priority
?
1,044 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

972 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