docs(infra): hosting update 2026-11-17, OVH Frankfurt #13
+12
-8
@@ -175,11 +175,13 @@ DNS at Hetzner DNS, managed in `ovh-tofu/dns` (delegated to the Hetzner nameserv
|
||||
└────────────────────┴──────────────────────────────────────────────────────────┴───────────────────────────┘
|
||||
|
||||
Object storage (OVH, region DE, s3.de.io.cloud.ovh.net) — backups since 2026-11-06:
|
||||
s3://bp-platform-backups-ovh nightly backups of the platform cluster (age-encrypted, 30-day lifecycle),
|
||||
s3://bp-platform-backups-ovh nightly backups of the platform cluster (age-encrypted; objects expire after 30 days,
|
||||
deleted versions 7 days later),
|
||||
plus objects/<bucket>/: nightly copies of bp-docs-prod and bp-reisekosten-prod
|
||||
(orca-platform scripts/object-backup.sh, 02:20 UTC on the stage master)
|
||||
s3://bp-infra-backups-ovh nightly backups of the core cluster (lifecycle set by hand)
|
||||
s3://bp-infra-archive-ovh last backups of services taken offline at the move (no expiry)
|
||||
s3://bp-infra-backups-ovh nightly backups of the core cluster (lifecycle set by hand; values to confirm)
|
||||
s3://bp-infra-archive-ovh last backups of the services taken offline at the move (DSMS, certifai);
|
||||
no expiry; no platform customer data
|
||||
|
||||
Object storage (Hetzner, nbg1):
|
||||
s3://bp-docs-stage|prod customer documents ("Unterlagen"), private, 5-minute signed download links
|
||||
@@ -196,18 +198,18 @@ 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: core 14 days (to confirm after the move), platform 30 days (staging included).
|
||||
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.
|
||||
|
||||
```
|
||||
┌──────────────────────────────┬──────────────────────────┬────────────┬───────────┬────────────────────┐
|
||||
│ Data store │ Method │ Frequency │ Retention │ Status │
|
||||
├──────────────────────────────┼──────────────────────────┼────────────┼───────────┼────────────────────┤
|
||||
│ keycloak-db (core) │ pg_dumpall pre_hook │ nightly │ 14 d │ in place │
|
||||
│ keycloak-db (core) │ pg_dumpall pre_hook │ nightly │ 3 d local │ in place │
|
||||
│ keycloak realm definitions │ orca-platform/keycloak/ │ on change │ git │ in place (partial │
|
||||
│ │ *.json + scripts │ │ │ export + scripts) │
|
||||
│ gitea-db + repos (core) │ pre_hook + volume │ nightly │ 14 d │ in place │
|
||||
│ harbor (core) │ db pre_hook; images │ nightly │ 14 d │ in place │
|
||||
│ erpnext mariadb (core) │ mariadb-dump pre_hook │ nightly │ 14 d │ in place │
|
||||
│ gitea-db + repos (core) │ pre_hook + volume │ nightly │ 3 d local │ in place │
|
||||
│ harbor (core) │ db pre_hook; images │ nightly │ 3 d local │ in place │
|
||||
│ erpnext mariadb (core) │ mariadb-dump pre_hook │ nightly │ 3 d local │ in place │
|
||||
│ pg-prod (tenant-registry) │ pg_dumpall hook + cron │ nightly │ 30 d │ in place; drilled │
|
||||
│ pruefwerk-mongo-prod │ mongodump hook + cron │ nightly │ 30 d │ in place; drilled │
|
||||
│ firmwerk-mongo-prod │ mongodump hook + cron │ nightly │ 30 d │ in place │
|
||||
@@ -215,6 +217,8 @@ Orca-native backups per cluster: nightly at 03:00, local copy + OVH Object Stora
|
||||
│ stage * │ same as prod │ nightly │ 30 d │ in place │
|
||||
│ Orca config (IaC) │ Gitea │ on commit │ forever │ in place │
|
||||
└──────────────────────────────┴──────────────────────────┴────────────┴───────────┴────────────────────┘
|
||||
Retention column: platform rows are 30 days, locally and in S3 (deleted S3 versions go 7 days later). Core rows show the 3-day
|
||||
local copy; their S3 retention follows the infra bucket's hand-set lifecycle (to confirm).
|
||||
```
|
||||
|
||||
**Drills:** `pg-stage` 2026-09-12; production Postgres and Mongo 2026-09-24/25 — both restored into scratch containers. Object copy drill: a `bp-reisekosten-prod` snapshot restored into stage 2026-11-06 (`bp-docs-prod` was empty then; drill again once it holds documents). **Open:** the 6-hourly pg-prod dump for RPO ≤ 6 h is not set up yet (nightly only: RPO ≤ 24 h today); a second storage provider for the database backups (3-2-1). No regular restore checks for the managed Gitea instances yet.
|
||||
|
||||
Reference in new issue
Block a user