Backup And Recovery
Nomatron is in early access. Some advanced workflows may not be covered in the public docs.
Before relying on Nomatron for important deployment workflows, confirm how the deployment control plane will be backed up, restarted, and recovered.
Nomad remains the workload runtime. If Nomatron is unavailable, existing Nomad workloads continue to run according to Nomad’s own behavior. The key question is how your team continues operating and how Nomatron state is restored.
What To Back Up
At a high level, confirm backup coverage for:
- Nomatron PostgreSQL database;
- Nomatron server configuration;
- secrets or environment variables required to restart Nomatron, in particular:
NOMATRON_ENCRYPTION_KEY. Back it up separately from the database. Stored secrets (sensitive variables, cluster ACL tokens, OIDC client secrets, and similar values) cannot be decrypted without the original key, and it cannot be rotated from the CLI in v0.1.7;NOMATRON_LICENSE_KEYandNOMATRON_CLUSTER_KEY; and- the Serf gossip key (
serf.encrypt_key) for multi-server deployments;
- Network Agent configuration;
- any deployment manifests used to run Nomatron itself; and
- operational runbooks or recovery notes.
PostgreSQL State
PostgreSQL is the durable state store for Nomatron.
For important environments, confirm your approach for:
- backup frequency;
- retention period;
- storage location;
- access permissions;
- restore test process; and
- who owns recovery during an incident.
Use the PostgreSQL backup approach that fits your environment and compliance requirements.
Restore Test
Do not treat backup as complete until restore has been tested.
A basic restore test should confirm:
- the database backup can be restored into a clean PostgreSQL instance;
- Nomatron can start against the restored database;
- organizations, apps, jobs, environments, and operations are visible;
- RBAC and approval configuration are present; and
- the team knows whether any re-issued tokens or secrets are required.
Nomatron Unavailable
If Nomatron is unavailable:
- existing Nomad workloads keep running in Nomad;
- new Nomatron-managed deployment workflows may pause;
- teams may need to use their agreed fallback deployment procedure;
- operators should avoid making unmanaged changes without recording them; and
- any emergency changes should be reviewed for drift or reconciliation afterward.
Agree the fallback path before it is needed.
Network Agent Recovery Topics
If a Network Agent is unavailable, consider:
- how the agent is restarted;
- where its configuration and token are stored;
- how logs are collected;
- how connectivity to the Nomad API is checked; and
- whether a replacement agent can be started in the same network.
Document recovery ownership before the agent is used for important workflows.
Recovery Review
After any recovery event, review:
- what failed;
- what was restored;
- whether any deployment state changed outside Nomatron;
- whether audit or operation history needs annotation;
- whether docs or runbooks need updating; and
- whether the rollout should pause before expanding.