Backups and mail recovery
Backup contents
Messages live in the mail volume. Reading encrypted content also requires the corresponding keys. A consistent database backup restores domains, mailboxes and aliases. For full host recovery, include Mailcow configuration, Redis data with DKIM keys, the Postfix queue and SOGo user data. Store a backup outside the mail host. Mailcow components
Test restore
- Identify the scope and recovery point. For a single lost message, establish its mailbox, folder and approximate date.
- Restore into an isolated environment. Compare domain and mailbox counts and verify selected alias destinations.
- Sign in to a test mailbox and open an older message and its attachment. Check calendar data if included in the recovery.
- For item-level recovery, copy the selected items to the current mailbox, preserving messages received after the backup.