Erasure, legal hold and backup

Relata DB 3.0
Restore is offline only: the relata restore command, run with the server stopped. The HTTP restore route is disabled and answers 503 restore-disabled. Tamper-evident, signed and exportable audit is Enterprise; the open build has a minimal local audit log.

Erasure

POST /v1/gdpr/erase removes a data subject. A node started without any erasure signing key still honours the request, because the key is provisioned automatically. The receipt can be checked with POST /v1/gdpr/verify-receipt, the request tracked with GET /v1/gdpr/deletions/{id}, and what is held about a subject read with GET /v1/gdpr/dsar. The subject is gone from SQL, point reads and exports, and other subjects' history is untouched.

POST /v1/retention/holds places a hold. A hold takes precedence over erasure and blocks revocation of held assertions.

Backup and offline restore

  1. POST /admin/backup on the loopback admin listener writes a backup.
  2. relata verify-backup checks it.
  3. To recover, stop the server and run relata restore into an empty data directory, then start the node. Rows, history (AS OF SYSTEM TIME), file bytes, assertions and the legal hold come back, masking still applies and an erased subject stays erased. Writes after the backup are lost (the recovery point is the backup).

See Backup and restore and Capacity and WAL retention.

Honest limits

  • A bare SELECT COUNT(*) and unfiltered aggregates still counted the erased row in the last run, and a restored node aggregated superseded row versions. Filter your aggregates until those defects are fixed.
  • A hot backup of an ordinary row-only node failed to restore in the last run (v5 offline restore requires exactly one complete LinkStore snapshot). Verify every backup by restoring it into a scratch directory before you depend on it.
  • No point-in-time recovery and no disaster-recovery service: those are Enterprise.

Exercised by

V3-13 (zero-config erasure, legal hold precedence, receipts, passed), V3-12 and V3-12b (DR drill with RTO measurement; both recorded the defects above) and V3-10 (legal hold blocking revocation, passed), relata-test 3.0 battery, 2026-11-03, debug build.