Re: SQL 2005 Encryption with restored databases
- From: "Michael Hotek" <mike@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 14 Apr 2006 17:04:46 -0500
Just for my clarification:
DbMK = Database Master Key
SMK = Server Master Key
Correct? I'm just asking, because it gets really hard to read stuff that
has abbreviations and acronyms strewn all over the place instead of just
putting the stuff in plain English.
--
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"Laurentiu Cristofor [MSFT]" <laur@xxxxxxxxxx> wrote in message
news:eA59iA$XGHA.4684@xxxxxxxxxxxxxxxxxxxxxxx
Yes, after restoring the database, you only need to reencrypt the DbMK
with the SMK, if you had such encryption originally (you might have chosen
to drop it). This is the only thing that you need to restore for
encryption.
Also see the following article for a procedure that you can use to let the
server store the DbMK password in a credential, so that it can restore the
SMK encryption automatically:
http://msdn2.microsoft.com/en-US/library/ms182754(SQL.90).aspx
Thanks
--
Laurentiu Cristofor [MSFT]
Software Design Engineer
SQL Server Engine
http://blogs.msdn.com/lcris/
This posting is provided "AS IS" with no warranties, and confers no
rights.
"Jim Youmans" <jdyoumans@xxxxxxxxx> wrote in message
news:1145033991.704851.180870@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am creating a 2005 database with encrypted columns in a few tables.
This database will need to be backed up and restored to a reporting
server and DR server on a nightly basis. In order for the reporting
and DR groups to have access to the encrypted fields, what do I need to
do?
I reencrypt the DbMK with the SMK after each restore, that should beFrom reading this group and some great blogs on MSDN, it seems that if
it? Then the DbMK will be re-encrypted with the SMK and then usable.
Is that right?
I am also putting together a cluster (one active and one fail over)
with replication. I assume that the encrypted data will be transferred
to the fail over box from the active box with no changes. So I would
have to re-encrypt the DbMK at set up so that it is ready to go.
Thanks!!
Jim Youmans
.
- Follow-Ups:
- Re: SQL 2005 Encryption with restored databases
- From: Jim Youmans
- Re: SQL 2005 Encryption with restored databases
- References:
- SQL 2005 Encryption with restored databases
- From: Jim Youmans
- Re: SQL 2005 Encryption with restored databases
- From: Laurentiu Cristofor [MSFT]
- SQL 2005 Encryption with restored databases
- Prev by Date: Re: SQL 2005 Encryption with restored databases
- Next by Date: Re: Logon failed for user ". but only for membership tables in same database that other request work
- Previous by thread: Re: SQL 2005 Encryption with restored databases
- Next by thread: Re: SQL 2005 Encryption with restored databases
- Index(es):
Relevant Pages
|
|