Backup & Restore

Create a full backup snapshot (all data stores)

Creates a full-state snapshot of energy-sharing, allocation, datapoints, jobs, and token data. Returns a snapshotId with provenance hash for audit trail (EU AI Act Art. 12). Sub-Track G v0.47.0 — Rollback-Plan mit Full-Restore-Orchestrierung.

post/api/admin/backup/snapshot

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/api/admin/backup/snapshot
  • Auth: none declared

Query parameters

tokenstring

Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.

Request body

labelstring

Human-readable label for this snapshot

tenantIdstring

Optional: scope snapshot to a specific tenant (exports only tenant docs)

tokenstring

Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

Example request

{
  "label": "pre-cutover-hoeheinoed-2026-06-30",
  "tenantId": "hoeheinoed"
}

Response

Snapshot created with provenance hash

Changes

No recorded changes to this operation across all 2 revisions of this API.