An export gives everything you own.
Plain files, in the messages of the public API. An owner starts an export, and downloads each file with one HTTP request.
| Part | In the export |
|---|---|
| Your org | People, apps, profiles, grants, scopes, environments, hostnames, identity providers and the audit trail. |
| Each domain | Every version of its schema, what an admin bound there, and its live data, in each environment. |
| Files | Each file of a record, as it was uploaded. |
| Modules | Each module, as the WebAssembly file itself. |
| Not in it | Secrets, and history: runs, jobs, events and old releases. |
What an export holds
Each file is JSON Lines, compressed with gzip: one message of the public API on each line. Restricted fields stay empty unless an owner includes them.
| Yours | How it stays yours |
|---|---|
| Data | An export at any time, until the org is deleted. Only an owner exports, and the audit trail records it. |
| Logic | An atom is a plain Connect or gRPC server, or a plain WebAssembly program. |
| Schema | One document, in a text format, kept in your repository. |
| Deployment | A domain moves from a managed cell to a self-hosted one, and back. |
| Leaving | An org that leaves is closed at once, and deleted 30 days later. Until then it still exports, and the leave can be cancelled. |
No lock-in
A managed region and a self-hosted one are the same platform, from the same binary.