Postfix Backup and Recovery
Back up configuration, maps, certificates, credentials, and operational records.
Production note: Back up configuration, run
postfix check, and stage changes before reloading.Inventory
Back up /etc/postfix, custom maps, SASL credentials, milter configuration, certificates, aliases, and automation scripts.
Secrets
Encrypt backups and restrict access because SASL maps and private keys are sensitive.
Restore workflow
- Restore files with correct ownership and modes.
- Rebuild indexed maps.
- Run
postfix check. - Start services and perform controlled tests.
Recovery drills
Test restores periodically and record dependencies such as DNS, Dovecot, OpenDKIM, databases, and certificates.