Backing up to Mapped Drive

  • 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/

  • 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 (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/

  • 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/

  • 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.

  • 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.

  • 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[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • 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/

  • 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[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • 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.

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply