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 Today: not recoverable - backups are on the same disk Target after off-site backup: RPO 24 hours, RTO 24 hours

These targets will be tightened once off-site backups and a restore drill exist.

3. Backups as they exist today (in place)

4. Commitments (owner: Founder)

  1. Off-site, encrypted backup - copy each daily dump, the vendor evidence files, the audit-chain anchors and an encrypted copy of .env to storage outside Hostinger, encrypted before upload, with checksums and at least 30 days of versions (target 2026-10-31).
  2. Full restore drill - restore the latest dump to a separate database, run the audit-chain verification on it, check row counts against production, and record the time taken (first drill target 2026-10-31; then every quarter).
  3. Confirm Hostinger snapshots and, if available, enable weekly snapshots as an extra layer (target 2026-10-15).
  4. Written rebuild runbook for a new VPS from scratch, using deploy/setup-server.sh and deploy/first-deploy.sh (target 2026-11-30).
  5. Uptime monitoring and alerts (policy 04, target 2026-10-31).

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 copy 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 latest anchors kept off the server (once in place).
  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.