Encrypting a Database

To encrypt a database

  1. Enable database encryption (using the EnableDatabaseEncryption action)

  2. Mark database files for encryption (using the EncryptFile or EncryptFiles action)

  3. Encrypt the marked files (using the ApplyPendingChanges action)

Take a full offline backup of your database when the encryption process is complete, to avoid reprocessing the encryption during recovery.