SemantiqWall
PT EN
Entrar Sou fornecedor

← Central de confiança

Business Continuity and Backup

Documento em inglês

Versão
1.0
Responsável
Founder
Aprovada por
Murilo Martins (Founder) · 28/09/2026
Próxima revisão
2027-09-28 (annual or on significant change)
Escopo
The SemantiqWall production service (web panel, API, public site), its database, stored files and configuration.

1. Business impact

Function Impact if unavailable Priority
Decision API used by customers' AI agents Agents with SDK calls cannot get decisions; the SDK fails closed (blocks), except low-impact actions the customer explicitly allowed during an outage 1
Approvals and panel Customers cannot approve actions or change policies 1
Audit log Loss would remove customers' evidence 1 (integrity)
Public vendor lookup and marketing site Lost leads and lookups; no customer data at risk 2

The main threats considered: loss of the VPS or its disk, accidental or malicious deletion of data, compromise of the server, prolonged outage at the hosting provider, and the Founder being unavailable.

2. Recovery targets (honest)

Scenario RPO (data loss) RTO (time to restore)
Application failure, bad deploy None 1 hour (rollback, policy 03)
Database corruption or deletion, server intact Up to 24 hours (last daily dump) 4 hours
Loss of the VPS or its disk Up to 24 hours (last off-site copy) 24 hours (target; the data restore itself took about 1 minute in the drill below - the rest is rebuilding the server)

The database restore was proven by the drill in section 3; the full rebuild of a new server has not been drilled yet (commitment 4).

3. Backups as they exist today (in place)

4. Commitments (owner: Founder)

  1. Restore drill every quarter with deploy/restore-drill.sh (next by 2026-12-31), recording the result in the security register.
  2. Alert on a failed off-site run (together with uptime monitoring, policy 04, target 2026-10-31).
  3. Written rebuild runbook for a new VPS from scratch, using deploy/setup-server.sh and deploy/first-deploy.sh (target 2026-11-30).

5. Disaster recovery steps

  1. Declare an incident (policy 05) and set severity.
  2. Decide: restore in place (server intact) or rebuild (server lost or compromised). A compromised server is always rebuilt, never cleaned.
  3. Rebuild: create a new Ubuntu 24.04 VPS; apply the server baseline (policy 03); run the setup and first-deploy scripts from the repository; create a new deploy key; restore .env from the encrypted off-site copy (decrypted with the offline private key) and rotate every secret that was on the old server (policy 02).
  4. Restore data: pg_restore the most recent good dump; restore vendor evidence files; run migrations; run the audit-chain verification against the anchors from the off-site copy.
  5. Point DNS to the new server; Caddy obtains certificates automatically.
  6. Check login, MFA, API decisions and approvals; then tell customers the service is back and what, if anything, was lost.
  7. Post-incident review (policy 05).

6. Communication during a disruption

7. Resilience limits we disclose

8. Testing and review

The plan is exercised at least once a year (a full rebuild drill on a scratch VPS) and after any significant infrastructure change. Results and fixes go in the security register.