Protect SQL Server Backup files

Last post 05-06-2008 5:04 AM by satya. 5 replies.
Page 1 of 1 (6 items)
Active Topics My Discussions Unanswered Sort Posts: Previous Next
  • 05-05-2008 1:20 AM

    • Akthar
    • Top 25 Contributor
    • Joined on 10-01-2004
    • Mauritius
    • Posts 616

    Protect SQL Server Backup files

    Hi all,

    is there a way with SQL 2005 to protect backup files.?

     Thks

    AKTHAR
    http://ecmmauritius.blogspot.com
    http://sharepointmauritius.blogspot.com
  • 05-05-2008 1:59 AM In reply to

    Re: Protect SQL Server Backup files

    Hi Akhtar,

    Their are some third party tool which you can use to compress and encrypt your database backup files, also you can password protect your backup files. Apart from this what you can do is, always keep your db backup files in protected folder and maintain proper authentication so that only those who really need to have access can access backup files. 

    Hemantgiri S. Goswami | MS SQL Server MVP
    -------------------------
    "Humans don't have Caliber to PASS TIME , Time it self Pass or Fail Humans" - by Hemantgiri S. Goswami

    http://hemantgirisgoswami.blogspot.com
    http://forums.surat-user-group.org/

    View Hemantgiri S. Goswami's profile on LinkedIn

    Disclaimer: This post is provided as is, for the sake of knowledge sharing only.
  • 05-05-2008 2:23 AM In reply to

    • Akthar
    • Top 25 Contributor
    • Joined on 10-01-2004
    • Mauritius
    • Posts 616

    Re: Protect SQL Server Backup files

    thanks for the reply hemant, but can we password protect a backup file with SQL Backup uiltity, or is there any tweak or work around to do this without using any 3rd party tool

    AKTHAR
    http://ecmmauritius.blogspot.com
    http://sharepointmauritius.blogspot.com
  • 05-05-2008 5:54 AM In reply to

    • AJITH123
    • Top 150 Contributor
    • Joined on 01-09-2007
    • Karnataka India
    • Posts 96

    Re: Protect SQL Server Backup files

    You can zip the the back up file with password..but i dont know how muchit worth it Sad, you can use the following code for that.

       DECLARE @PASSNUMBER INT
       DECLARE @PASSNUMBERSTRING CHAR(8)
       DECLARE @PASS CHAR(8)
      
       SELECT @PASSNUMBER = CONVERT(INT,(RAND()* 1000000))
       SELECT @PASSNUMBERSTRING = CONVERT(CHAR,@PASSNUMBER)
       SELECT @PASS='-S'+CONVERT(CHAR,@PASSNUMBER)

       SET @CMD = '"C:\PROGRAM FILES\WINZIP\WZZIP" '
      + @ZIPFILEPATH
      + '   '
      + @OUTPUTFILEPATH
      +'  '
      + @PASS
       EXEC @RESULT = MASTER.DBO.XP_CMDSHELL @CMD, NO_OUTPUT

  • 05-06-2008 1:41 AM In reply to

    • Akthar
    • Top 25 Contributor
    • Joined on 10-01-2004
    • Mauritius
    • Posts 616

    Re: Protect SQL Server Backup files

    Thanks, but not the ideal solution, as will have to delete the bak file somehow after the zip!!!

    AKTHAR
    http://ecmmauritius.blogspot.com
    http://sharepointmauritius.blogspot.com
  • 05-06-2008 5:04 AM In reply to

    • satya
    • Top 10 Contributor
    • Joined on 11-05-2002
    • United Kingdom
    • Posts 22,567
    • Microsoft MVP

    Re: Protect SQL Server Backup files

    You may need to lookat Data Protection Manager - http://blogs.technet.com/dpm/archive/2007/07/02/backup-here-comes-protection.aspx from Microsoft, see if it helps.

    -Satya S K J

    SQL Server MVP



    Knowledge is Power, you will gain by sharing it. SSQA.net - Invisible contributions to the users & visible success in SQL Community.
Page 1 of 1 (6 items)
Active Topics   My Discussions    Unanswered Posts


© 2000 - 2007 vDerivatives Limited All Rights Reserved.