gunk-dev/the-valley

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

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