Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL - Backups

Status
Not open for further replies.

GysE

Programmer
Jun 21, 2002
16
0
0
ZA
Is it possible to make a SQL backup straight to a mapped drive?
All drives I can see if physical drives.

Please help
 
Use a UNC path instead (eg, \\server\share\sqlbackups\mybackup.bak). Mapped drives can be easily changed (via login script for example), causing your entire backup scheme to fail, whereas UNC is always unambiguous about where it is pointing). Also, mapped drives aren't accessible in the context of a service (which is how SQL Server/SQL Server Agent run).
 
You also have to make sure your SQL services run under a domain account rather than a local machine account or localsystem account.
This is so access rights can be granted\checked when SQL tries to access the UNC path.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top