Backup & migration

Full backup

Download a full backup of all persistent state — the database, every domain’s DKIM key and the application credentials. Restore into a container of the same SelfPost version, with the same data mount, before first start. TLS certificates and the mail queue are not included.

The backup file is a secret. Encrypting it is the simplest way to store it: the download is then a .spbk that only the password opens.

Keep this password: without it the file cannot be opened.

Import a domain

Move a single domain here from another SelfPost instance — plain .json or encrypted .spde. Its DKIM key and application passwords come across, so the published DNS record needs no change. The export file is a secret, like a full backup.

Needed for a .spde file. Leave empty for plain .json.