dbTalk Databases Forums  

Database Backup Encrypted.

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Database Backup Encrypted. in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rogers
 
Posts: n/a

Default Database Backup Encrypted. - 05-03-2007 , 03:28 PM






Quick question, I am backing up SQL Server Database every night, I want to
encrypt the database backup file?

Is there any way through scheduler I can take the backup as well as encrypt
it.

Thanks

Noor




Reply With Quote
  #2  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Database Backup Encrypted. - 05-03-2007 , 08:07 PM






Your best bet is to use one of the 3rd party backup tools (red-gate, Quest
etc) to do the backup, compress it and encrypt it all in one.

--
Andrew J. Kelly SQL MVP

"Rogers" <naissani (AT) hotmail (DOT) com> wrote

Quote:
Quick question, I am backing up SQL Server Database every night, I want to
encrypt the database backup file?

Is there any way through scheduler I can take the backup as well as
encrypt it.

Thanks

Noor






Reply With Quote
  #3  
Old   
jcarlos
 
Posts: n/a

Default Re: Database Backup Encrypted. - 05-07-2007 , 03:07 AM



If you are using SQL 2000, you can backup to named pipes and use a
tool that can read from pipe and write the encrypted output to a file.
I used this technique with the Sure Crypt tool
http://www.softpedia.com/get/Securit...ureCrypt.shtml and
these commands:

--Backup database to a pipe
backup database pubs to pipe ='\\.\pipe\pubs_pipe'

--At the command prompt type
sc dsckey.dat e \\.\pipe\PUBS_pipe pubs.bkp.enc

where sc is the ecncryption tool reading from the pipe and writing to
pubs.bkp.enc and dsckey.dat is your key file.

However, since SQL 2005 doesn't support named pipes as backup device,
I wrote a simple tool (zipvdi) that makes all the work in a single
step and compatible with SQL 2k and 2k5
Give ZipVDI a try from http://jcarlossaez.blogspot.com/2007...ql-server.html

Regards


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.