BACKUP SYMMETRIC KEY
copies symmetric key key material out
What changes
- Input
- symmetric key key material
- Output or change
- backup device, file or URL
Syntax at a glance
BACKUP SYMMETRIC KEY key_name TO { FILE = 'path_to_file' | URL = 'Azure Blob storage URL' } ENCRYPTION BY PASSWORD = 'password'
Work example
A symmetric key needs a protected backup before its protector changes.
Trace encrypted values, key protectors, backup permissions, and recovery ownership.
Check your work A lab restore recovers the key and decrypts a synthetic value.
Open Microsoft Learn for full syntax, permissions, and details for your version.