gunk-dev/the-valley

dcr-d7952bc-phase0-replication-github-transitional.md

sourcefec8fb9dfaf0main's published tip history
1.8 KiB · Rendered
1---
2type: decision
3id: dcr-d7952bc
4status: decided
5title: Phase 0 live replication is GitHub (transitional mirror); sovereign live remote deferred to GitHub exit
6created: 2026-07-11
7supersedes: [dcr-db1acbb]
8---
9
10# Phase 0 replication — GitHub as the transitional live layer
11
12**Decided 2026-07-11.** Supersedes [[dcr-db1acbb]]
13([dcr-db1acbb-hetzner-replication-mechanism.md](./dcr-db1acbb-hetzner-replication-mechanism.md)).
14
15- **Live replication (revised).** For Phase 0 the live layer is **GitHub** — the transitional push
16 mirror already declared in the host config — rather than a new Hetzner VPS. The dedicated
17 sovereign live remote (the VPS) is **deferred until GitHub exit**, i.e. the point where GitHub
18 stops being retained as a mirror.
19- **Offsite depth (unchanged).** Nightly encrypted restic backups of the bare-repo directory to a
20 Hetzner Storage Box.
21- **ZFS send — still rejected for now.**
22
23**Rationale.** During the migration window GitHub already provides a hot, independent, offsite
24second copy within seconds of every push, so a Hetzner VPS mirror would duplicate it while adding a
25live host to provision and operate. The Storage Box restic layer supplies the sovereign, encrypted,
26point-in-time copy — and is the copy the S1 "restore performed and verified" criterion runs against.
27Net: one Hetzner resource instead of two until GitHub exit.
28
29S1 stays satisfied as written: "two independent places within minutes" = classic-laddie + GitHub;
30the verified restore = from restic.
31
32**Revisit trigger.** GitHub exit brings back the sovereign live remote: when GitHub is no longer
33retained as a mirror, provision the dedicated live remote before dropping it.
34
35Relates to [[oc-9949561]]
36([oc-9949561-push-replication.md](../outcomes/oc-9949561-push-replication.md)).