Retain uses a hybrid data-storage approach.
SQL Database: Stores meta data, folder structures, attachment information, and links to messages in the archive file.
Archive File System: Stores message text and attachments in a single-instance storage scheme that is designed to protect against tampering.