Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 2.24 KB

always-encrypted-migrate-using-backup-restore.md

File metadata and controls

36 lines (29 loc) · 2.24 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic monikerRange
Backup and restore databases using Always Encrypted
Backup and restore databases using Always Encrypted
jaszymas
jaszymas
vanto
10/30/2019
sql
security
conceptual
=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current

Backup and restore databases using Always Encrypted

[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance]

This article describes how to back up and restore a database containing columns protected with Always Encrypted.

When you back up a database, the resulting backup file contains encrypted stored in encrypted columns and all metadata for Always Encrypted keys.

When you restore a database, all encrypted data and all metadata for Always Encrypted keys are restored.

If you restored the database on a different server or under a different name, you don't need to do anything special to enable the application to query the encrypted data in the target database, as the keys in both databases are the same.

For detailed information about how to back up and restore a database, see:

Next steps

See also