Vinay's profileVinay Thakur - Sql Serve...PhotosBlogLists Tools Help

Blog


    October 14

    Network backup Access via Query Analyzer

    Hi,

    Today while working on query analyzer found very interesting thing about security.

    My sql server A is running with service account which is same as service account of server B and having all access.and I am login with my credential to server A, I am not having any access to server B.When I open a query analyzer with my credential.and run a restore command like this.

    Restore database B_DB_on_A from disk =’\\B_servername\Drive$\backupfilelocation\backupfile.bkp’

    Here the backup file is at located on  B server. where I don't have access but as sql server A running with service account this command works and it will restore the database.

    This works well if you want to restore things production to development.

    HTH.

    Vinay

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://vinay-thakur.spaces.live.com/blog/cns!645E3FC14D5130F2!587.trak
    Weblogs that reference this entry
    • None