gunk-dev/the-valley

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

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