Business Continuity & Disaster Recovery

Architecture, backup status, recovery information, and the state of multi-region capability. Public summary — full operational runbook available to enterprise customers under NDA.

Scope of this document: This is the public-facing BCP summary. It describes design intent, current state, and honest gaps. Enterprise customers may request the full internal operational runbook, which includes step-by-step recovery procedures, contact trees, and vendor escalation paths.

1. Architecture & Primary Region

1.1 Current production architecture

CloakAPI currently operates from a single primary region: Hetzner Cloud, Nuremberg (nbg1), Germany (EU). The facility is operated by Hetzner Online GmbH, subject to German and EU law, and carries Hetzner's own third-party certifications (ISO 27001 and others — see Hetzner's certification page). CloakAPI itself holds no data-centre certification; the physical-layer assurance is inherited from Hetzner.

  • Primary compute: CX43 instance (8 vCPU, 16 GB RAM)
  • Cloudflare is used for DNS only; none of the public endpoints is proxied through Cloudflare, and TLS terminates at the origin nginx (all address records unproxied, checked 2026-11-07).
  • Database: PostgreSQL on the primary host
  • Application artefacts are outside the eight-database backup scope described below.
  • Network ingress: public traffic reaches the origin nginx directly over TLS

1.2 Single-region risk acknowledgement

We acknowledge that a single-region architecture creates a regional failure risk. This is a deliberate current-state trade-off. Backups run nightly and are copied off-site nightly (Section 2); recovery targets have not been established. Multi-region failover is on the roadmap (Section 5).

2. Backup Strategy

2.1 Backup schedule

Database backups of the eight data stores listed in 2.3 run nightly from a scheduled job on the production host. Redis caches and queues, and raw GlitchTip error telemetry, are outside the backup scope.

2.2 Backup architecture

  • Storage: Backups are written to a volume on the production host (Hetzner, Nuremberg).
  • Off-site copy: Since 24 October 2026, dumps that pass the backup job's checks are copied nightly to AWS S3 in Stockholm (eu-north-1), in a separate AWS account, with server-side encryption. S3 lifecycle expiration is configured for 31 days, and Object Lock is configured in GOVERNANCE mode for 30 days.
  • Retention: Local dumps are deleted after 30 days by a scheduled daily job. Off-site copies are kept for up to 33 days.

2.3 Backup scope

  • Four PostgreSQL 16 data stores, two MariaDB 11 data stores, MongoDB 7, and ClickHouse are included.
  • Redis caches and queues are intentionally not backed up.
  • GlitchTip structure is included; raw error telemetry is intentionally excluded.

2.4 Backup testing

Restore tests are run manually, not on a fixed schedule. In the latest restore drill on 22–23 October 2026, PostgreSQL checks verified 124/124 and 66/66 tables.

3. Recovery Targets

RTO — Recovery Time Objective
Not established
A recovery time objective has not been formally established.
RPO — Recovery Point Objective
Not established
Backups run nightly; no formal recovery point objective is set.
Restore testing
Manual
The latest restore drill ran on 22–23 October 2026; no fixed cadence is set.

3.1 Recovery time

A recovery time objective has not been formally established. The time required to restore service depends on the incident and recovery conditions.

3.2 Recovery point

A recovery point objective has not been formally established. Backups run nightly.

4. Disaster Scenario Coverage

Scenario A
Host hardware failure or hypervisor fault
Recovery would require replacement infrastructure and restoration from an available backup. Recovery time has not been formally established.
Scenario B
Data corruption (application or operator error)
Recovery would require restoration from an available backup and validation of data integrity. Point-in-time recovery and recovery time have not been established.
Scenario C
Hetzner Nuremberg region-wide outage
Nightly encrypted off-site copies in AWS S3 (Stockholm) are held outside Hetzner. Recovery from them in a provider-wide outage has not been tested.
Scenario D
Security incident / ransomware
Recovery would require isolating affected systems and restoring from an available backup. Off-site copies are held in a separate AWS account; recovery time has not been established.
Scenario E
Key person unavailability
CloakAPI is currently operated by a single operator. Single-person dependency is a known risk; continuity arrangements for operator unavailability have not been established.

5. Multi-Region Roadmap

Multi-region active-active or active-standby failover is not yet implemented. It is on the technical roadmap and will be prioritised when the first enterprise customer with a contractual multi-region requirement engages. We will not commit to a calendar date for this capability that does not reflect genuine delivery intent.

Multi-region recovery is a future capability; no recovery time or recovery point objectives are established for it.

6. Restore Test Status

A restore procedure is documented. The latest restore drill ran on 22–23 October 2026 (section 2.4); no fixed test cadence is set.

7. Customer Communication During an Outage

Incidents are communicated via status.cloakapi.io, with updates posted on a best-effort basis. For major incidents (SEV-1/SEV-2) we also email the account email address of each affected account.

8. Document Review

This BCP summary is reviewed annually, or after any significant architectural change or DR drill that identifies material gaps. The next scheduled review is 2027-05-01.

Back to top