Skip to main content
Solved

Encrypted SQL database

  • January 18, 2023
  • 3 replies
  • 1088 views

Forum|alt.badge.img+3

Is it possible to backup and restore SQL databases that are encrypted en secured?

Best answer by Scott Reynolds

Damian’s post highlights everything however I want to make a special note of the third line posted from Damian taken from BOL here

https://documentation.commvault.com/2022e/expert/18208_back_up_sql_server_data.html

The SQL agent does not backup the encryption keys. You must make sure you manage them and import them to any restore destination. DBAs should be aware but adding this for more info from MSFT here:

https://learn.microsoft.com/en-us/sql/t-sql/statements/backup-certificate-transact-sql?view=sql-server-ver16

View original
Did this answer your question?

3 replies

Forum|alt.badge.img+15
  • Vaulter
  • 630 replies
  • January 18, 2023

Yes databases that are encrypted can be protected with the SQL iDA.


Damian Andre
Vaulter
Forum|alt.badge.img+23
  • Vaulter
  • 1301 replies
  • January 19, 2023

If TDE or Always Encrypted are enabled, then the following rules apply:

  •     Backups are not affected.
  •     If you have a storage policy that uses deduplication, then the deduplication ratio is low or non-existent.
  •     If the restore destination is a different client or instance, then the SQL administrator must back up the encryption key, and present it to the destination instance.

Forum|alt.badge.img+14

Damian’s post highlights everything however I want to make a special note of the third line posted from Damian taken from BOL here

https://documentation.commvault.com/2022e/expert/18208_back_up_sql_server_data.html

The SQL agent does not backup the encryption keys. You must make sure you manage them and import them to any restore destination. DBAs should be aware but adding this for more info from MSFT here:

https://learn.microsoft.com/en-us/sql/t-sql/statements/backup-certificate-transact-sql?view=sql-server-ver16


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings