gunk-dev/the-valley

oc-9949561-push-replication.md

sourceba15a5d4fa13main's published tip history
1.5 KiB · Rendered
1---
2type: outcome
3id: oc-9949561
4status: done
5title: Every push replicated — classic-laddie primary + Hetzner offsite + verified restore
6created: 2026-07-02
7blocked_by: [oc-fc348f0]
8---
9
10# Every push replicated
11
12Done 2026-07-13: the S1 infrastructure work — bare repos on classic-laddie as primary, offsite
13replication to Hetzner, and one full restore _performed and verified_, because configured is not
14done
15([user-scenarios.md § S1](../../design/user-scenarios.md#s1--my-repos-live-on-my-infrastructure-and-i-can-never-lose-them),
16[roadmap.md Phase 0](../../design/roadmap.md#phase-0--mvp-repos-off-github)). The host module lives
17in the-valley itself (`flake.nix` + `schema/`, per [[dcr-0f5d9b1]]); consumers — cosmo's hosts —
18install and configure it. The work waited on the mechanism decision [[oc-fc348f0]]
19([oc-fc348f0-hetzner-mechanism.md](./oc-fc348f0-hetzner-mechanism.md)).
20
21What was done: the-valley's primary populated on classic-laddie and canonical origin flipped, with
22both replication layers — the transitional GitHub live mirror and the restic offsite depth — as
23[[dcr-d7952bc]]
24([dcr-d7952bc-phase0-replication-github-transitional.md](../decisions/dcr-d7952bc-phase0-replication-github-transitional.md))
25decides them. Replication was verified by checking both sides: marker tag `s1-migration` on both
26within seconds. A full restore was performed and verified against real data: snapshot `28ce9e00`
27restored, fsck clean, `refs/heads/main` hash-identical to the live primary.