Reference documents
The server's guide, specifications and format documents in the open-source repository, and what each one answers.
The pages in this section explain how to run a deployment. The repository holds the documents they are based on, written for people who need the exact rule. When one of these pages and a specification disagree, the specification is right.
The server's guide
mimicd/README.md
is the operator's guide to the server on PostgreSQL: Compose, PostgreSQL's
settings, backups, every upgrade's notes by schema version, administration,
configuration, commands and exit codes, moving a database between
deployments, TLS and observability.
mimicd/docs/metrics.md
lists every metric family a process serves (version 3), as a contract.
The specifications
They are in docs/engine of the
repository.
Each closes with a Changes from 0.3.x section: which rules of the
earlier engine (release 0.3.x) hold for this server, which changed, and
which were removed.
| Document | What it answers |
|---|---|
14-self-hosted-operations.md | Running a deployment: processes, configuration, founding, stores and moves, upgrades, backups, observability, runbooks and hardening |
07-data-access-and-sessions.md | Users, keys, document tokens, authorization, the HTTP API and sessions, presence, limits and the administration API |
13-clients-and-partial-sync.md | What clients hold, the session protocols, optimistic edits, offline work, partial sync, and the server SDK |
12-schema-migrations.md | Collections, schema versions, migration artifacts, verification, sealing, activation and the registry API |
17-triggers.md | Triggers, webhook endpoints, deliveries and their limits |
01-core-contracts.md | Identifiers, values, commands, requests, outcomes, errors and resource accounting |
03-document-runtime.md | How a document is served: its actor, commits, subscriptions, presence and leaving memory |
05-ownership-and-placement.md | Partitions, leases, the store map and partition moves |
06-snapshots-and-history.md | Checkpoints, history, backups, restores and archives |
15-existing-engine-cutover.md | Moving a database in from an earlier server |
Formats
| Document | What it answers |
|---|---|
docs/archive-format.md | The Mimic Archive format, which a database moves between deployments in |
docs/migration-abi.md | What a migration artifact is, the interface between the server and migration code, determinism and the sandbox's limits |
The command line
Every command prints its options:
mimicd --help
mimicd serve --help
mimicd admin backup --help
mimicd cutover --helpmimicd serve --check prints a process's effective options, each with its
source and secrets redacted, and exits.