Welcome to MSDN Blogs Sign in | Join | Help

Have You Backed Up Your Database Master Key?

If you have encrypted columns in a database or certificates used to create them, you need to make sure that you back up the Database Master Key as part of your maintenance, and then protect that backup file. Here's the short version of the command:

BACKUP MASTER KEY
TO FILE = '<complete path and filename>'
ENCRYPTION BY PASSWORD = '<password>' ;
GO

And here's the BOL link for that: http://msdn.microsoft.com/en-us/library/aa337546(SQL.90).aspx

Published Tuesday, January 06, 2009 7:33 AM by Buck Woody

Comments

Tuesday, January 06, 2009 10:46 AM by Have You Backed Up Your Database Master Key? | Coded Style

# Have You Backed Up Your Database Master Key? | Coded Style

Anonymous comments are disabled
 
Page view tracker