| 1 | --- |
| 2 | type: decision |
| 3 | id: dcr-d7952bc |
| 4 | status: decided |
| 5 | title: Phase 0 live replication is GitHub (transitional mirror); sovereign live remote deferred to GitHub exit |
| 6 | created: 2026-07-11 |
| 7 | supersedes: [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 |
| 24 | second copy within seconds of every push, so a Hetzner VPS mirror would duplicate it while adding a |
| 25 | live host to provision and operate. The Storage Box restic layer supplies the sovereign, encrypted, |
| 26 | point-in-time copy — and is the copy the S1 "restore performed and verified" criterion runs against. |
| 27 | Net: one Hetzner resource instead of two until GitHub exit. |
| 28 | |
| 29 | S1 stays satisfied as written: "two independent places within minutes" = classic-laddie + GitHub; |
| 30 | the verified restore = from restic. |
| 31 | |
| 32 | **Revisit trigger.** GitHub exit brings back the sovereign live remote: when GitHub is no longer |
| 33 | retained as a mirror, provision the dedicated live remote before dropping it. |
| 34 | |
| 35 | Relates to [[oc-9949561]] |
| 36 | ([oc-9949561-push-replication.md](../outcomes/oc-9949561-push-replication.md)). |