Solved

Database Backup to Share Drive

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
efficient backup report for SQL Server 13 80
SQL XPCMDSHELL SQLCMD 1 39
Please explain the difference between EXCLUDE, INTERSECT and JOIN 7 52
HIghlights of SSIS? 3 43
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
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.

734 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