Backup & Restore

Restore all data stores from a backup snapshot

Restores energy-sharing, allocation, datapoints, jobs, and token data from a snapshot. DESTRUCTIVE — requires confirm=true. Missing docs are restored; existing docs are skipped (additive). Sub-Track G v0.47.0 — Rollback-Plan mit Full-Restore-Orchestrierung.

post/api/admin/backup/restore

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/api/admin/backup/restore
  • 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

snapshotIdstring required
confirmboolean

Must be true to execute restore (safety gate)

tokenstring

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

Example request

{
  "snapshotId": "snap-abc123"
}

Response

Restore completed with counts of restored/skipped docs

Changes

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