Skip to main content
Version: v5.7.0

opschain server

Included from Basic tier

Run and maintain an OpsChain server on this host. Every subcommand operates on the local server home ($OPSCHAIN_HOME/server/, resolved via --home): configure writes the configuration and key material, start runs the server in the foreground, backup and restore cover embedded (SQLite) deployments. Operating a running server remotely — fleet, queue, quiesce/resume, authz — lives under opschain admin.

SubcommandManualPurpose
startopschain docs cli/server-startStart the server: store, scheduler, runner protocol, log streaming
configureopschain docs cli/server-configureWrite config.yaml and keys.env (idempotent)
backupopschain docs cli/server-backupOnline backup of an embedded server into a manifest-sealed directory
restoreopschain docs cli/server-restoreRestore an embedded server from a backup directory
migrateopschain docs cli/server-migrateOffline migration lane: inspect and apply migrations directly against the configured database when the server cannot boot

The usual first run is opschain server configure (a bare run yields a runnable configuration) followed by opschain server start.

See also​

  • opschain docs cli/doctor — check what a server host needs before starting one.
  • opschain learn 0.1 — install and first contact.