diff --git a/INFRASTRUCTURE.md b/INFRASTRUCTURE.md index d7f8cdf..b76c15e 100644 --- a/INFRASTRUCTURE.md +++ b/INFRASTRUCTURE.md @@ -75,7 +75,7 @@ bp-platform-prod (agent, 57.129.34.146, OVH c3-16) ≈ 8.8 GiB project platform-prod portal-prod app.breakpilot.com 768 MiB tenants /, staff /admin tenant-registry-prod registry.breakpilot.com 512 MiB licences, ERP link (live erp.breakpilot.com) - pg-prod internal, volume 1 GiB dump hook + 02:30 cron + pg-prod internal, volume 1 GiB dump pre_hook of the 03:00 backup docs-prod docs.breakpilot.com 64 MiB VitePress, DE + EN project pruefwerk-prod pruefwerk-dashboard-prod pruefwerk.breakpilot.com 640 MiB @@ -198,7 +198,7 @@ Object storage (Hetzner, nbg1): ## 5. Backup Requirements -Orca-native backups per cluster: nightly at 03:00, local copy + OVH Object Storage (since 2026-11-06), **age-encrypted** (private key offline in KeePass). Consistent logical dumps (`pg_dumpall`, `mongodump`, `mariadb-dump`) land in each database volume first — through the `pre_hook`s and, on the platform nodes, `scripts/db-dumps.sh` from cron at 02:30. Retention: local copies 30 days on platform (staging included), 3 days on infra. In OVH Object Storage, platform backups expire after 30 days and deleted versions go 7 days later, so a backup is gone at the latest 37 days after it was made (customer wording: "kept for 30 days and deleted within 7 days after that"). The infra bucket's lifecycle was set by hand (values to confirm). The archive bucket `bp-infra-archive-ovh` has no expiry; it holds only the DSMS and certifai backups, no platform customer data. +Orca-native backups per cluster: nightly at 03:00, local copy + OVH Object Storage (since 2026-11-06), **age-encrypted** (private key offline in KeePass). Consistent logical dumps (`pg_dumpall`, `mongodump`, `mariadb-dump`) land in each database volume first, through each DB service's `pre_hook`, which the 03:00 backup runs before it uploads; a failed dump fails the backup. There is no separate dump cron; `scripts/db-dumps.sh` is for a dump by hand, e.g. before a promotion. Since 2026-11-17 a daily backup report from both cluster masters goes to SigNoz at 05:00 UTC (one event per job: orca master, each agent, the platform object backup); a failed or missing job sends a critical alert by e-mail, no report for 26 h a warning (t76). Retention: local copies 30 days on platform (staging included), 3 days on infra. In OVH Object Storage, platform backups expire after 30 days and deleted versions go 7 days later, so a backup is gone at the latest 37 days after it was made (customer wording: "kept for 30 days and deleted within 7 days after that"). The infra bucket's lifecycle was set by hand (values to confirm). The archive bucket `bp-infra-archive-ovh` has no expiry; it holds only the DSMS and certifai backups, no platform customer data. ``` ┌──────────────────────────────┬──────────────────────────┬────────────┬───────────┬────────────────────┐