Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Backing up to Mapped Drive Expand / Collapse
Author
Message
Posted Thursday, August 16, 2012 3:29 PM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Monday, September 29, 2014 10:57 PM
Points: 4,242, Visits: 4,290
If I back up to a network mapped drive don't I have to use xp_commandshell?

I asked that the drive be provisioned as a local drive (network storage, etc).

What are the implications of using a mapped drive for SQL Server?


For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

Post #1346272
Posted Thursday, August 16, 2012 3:33 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 7:46 AM
Points: 20,801, Visits: 32,724
Others may have different experiences, but in my experience, mapped drives never worked as expected from the database engine or SSIS when run from the server. Usually got error messages about the drive not existing. If it was provisioned locally (either on the SAN or DAS), no problems.



Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Post #1346273
Posted Thursday, August 16, 2012 3:42 PM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Monday, September 29, 2014 10:57 PM
Points: 4,242, Visits: 4,290
Lynn Pettis (8/16/2012)
Others may have different experiences, but in my experience, mapped drives never worked as expected from the database engine or SSIS when run from the server. Usually got error messages about the drive not existing. If it was provisioned locally (either on the SAN or DAS), no problems.


Thank you!


For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

Post #1346279
Posted Thursday, August 16, 2012 4:38 PM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Monday, September 29, 2014 10:57 PM
Points: 4,242, Visits: 4,290
I need more ammo..

For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

Post #1346285
Posted Thursday, August 16, 2012 5:39 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 7:46 AM
Points: 20,801, Visits: 32,724
The best ammo in this case is ammo you load yourself. Try it on you dev servers. If you make it work, great. If not, you have your ammo.

Just be sure to document it well.

Anything you may get from us will be treated as hearsay for the most part. I have no physical documentation that supports my experience. I'm not working for that particular employer anymore.



Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Post #1346291
Posted Thursday, August 16, 2012 5:43 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 7:46 AM
Points: 20,801, Visits: 32,724
Here is what you will run into. Mapped drives are created by login scripts or batch files. Neither of which apply to SQL Server on server as it runs as a service, not a logged in user.

If you go out to a spawned command line and map the drive, it will be visible to that spwned process, but not to SQL Server.




Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Post #1346294
Posted Thursday, August 16, 2012 5:45 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Friday, November 21, 2014 12:18 PM
Points: 5,438, Visits: 7,606
I'll have to agree with Lynn on this one. Setup a test between a map and a locally generated and run multiple timing tests. Present those results to the power that be. In the end, they'll only care about their systems, not what happened on someone else's "obviously poorly maintained and setup" systems, "ours are better!" Sometimes they're right, sometimes they're not. Only way to prove it one way or another is to test it then and there.


- Craig Farrell

Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

For better assistance in answering your questions | Forum Netiquette
For index/tuning help, follow these directions. |Tally Tables

Twitter: @AnyWayDBA
Post #1346296
Posted Thursday, August 16, 2012 5:59 PM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Monday, September 29, 2014 10:57 PM
Points: 4,242, Visits: 4,290
This is the response that I got:

You have two choices, a USB drive direct attached or a nas network attached drive. I don't have any other options. Sorry.


I do not get it,,,


For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

Post #1346299
Posted Thursday, August 16, 2012 6:10 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Friday, November 21, 2014 12:18 PM
Points: 5,438, Visits: 7,606
Welsh Corgi (8/16/2012)
This is the response that I got:

You have two choices, a USB drive direct attached or a nas network attached drive. I don't have any other options. Sorry.


I do not get it,,,


Nod your head, go with it, and save the emails. If it becomes a problem later, pull them out, dust them off, and present to superior. If not, let it go. Sounds like politics you just don't want to get involved with, and your boss would need to. I wouldn't go there unless you're just not meeting SLAs.



- Craig Farrell

Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

For better assistance in answering your questions | Forum Netiquette
For index/tuning help, follow these directions. |Tally Tables

Twitter: @AnyWayDBA
Post #1346301
Posted Thursday, August 16, 2012 6:25 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 7:46 AM
Points: 20,801, Visits: 32,724
Evil Kraig F (8/16/2012)
Welsh Corgi (8/16/2012)
This is the response that I got:

You have two choices, a USB drive direct attached or a nas network attached drive. I don't have any other options. Sorry.


I do not get it,,,


Nod your head, go with it, and save the emails. If it becomes a problem later, pull them out, dust them off, and present to superior. If not, let it go. Sounds like politics you just don't want to get involved with, and your boss would need to. I wouldn't go there unless you're just not meeting SLAs.


I agree with Craig. Plus, the NAS attached drive may work like the SAN drives. I seem to remember Progressive using NAS drives for their backups directories. My concern regarding mapped drives are like those you get on your workstation when you log into you LAN. Those just don't work.



Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Post #1346305
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse