Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Backing up SQL database to network drive
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

3 Posts

Posted - 07/05/2013 :  14:19:28  Show Profile  Reply with Quote

I am trying to create a backup of a SQL database to a network drive (\\\bus).

I am currently mapped to the drive from the Windows server where SQL Server is on.

The SQL Server (MSSQLSERVER) service Log On As column is the login to the Windows server.

The following is the SQL being used in the SQL Query window:
BACKUP DATABASE Training TO DISK = '\\\bus\Training.bak' WITH INIT

I am receiving the following message:
Msg 3201, Level 16, State 1, Line 1
Cannot open backup device '\\\bus\Training.bak'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 1
BACKUP DATABASE is terminating abnormally.

Per my research, SQL Server needs to point to the map drive? I have not found where to do that.

How do I have SQL Server point to the network drive?



Almighty SQL Goddess

38200 Posts

Posted - 07/05/2013 :  16:33:03  Show Profile  Visit tkizer's Homepage  Reply with Quote
No pointing is needed. SQL can use UNC paths provided it has permissions to write to it, which it doesn't in this case.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server

Subscribe to my blog

Edited by - tkizer on 07/05/2013 16:37:04
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000