gunk-dev/the-valley

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

sourcefec8fb9dfaf0main's published tip history
1.4 KiB · Rendered
1---
2type: decision
3id: dcr-d7952bc
4status: decided
5title: "Use GitHub for transitional live replication and restic for independent backup"
6created: 2026-07-11
7supersedes: [dcr-db1acbb]
8---
9
10# Use GitHub for transitional live replication and restic for independent backup
11
12During the GitHub migration, the declared GitHub mirror provides a live offsite copy of integrated
13history. Nightly encrypted restic backups to a Hetzner Storage Box provide independent,
14point-in-time recovery.
15
16The publication scope is `main` and tags, as defined in
17[[dcr-24d62f7]](dcr-24d62f7-publication-mirror-not-review-queue.md). Integrated work therefore has
18copies on classic-laddie and GitHub within the live replication window. Pending branches rely on the
19primary and the next backup snapshot; the two-copies-within-minutes target does not cover all of
20that pending work.
21
22The verified restore required by S1 uses the restic backup. Keeping that backup independently of
23GitHub also protects the migration from dependence on the publication mirror.
24
25A dedicated live Git remote on a Hetzner VPS is deferred until GitHub ceases to be retained as a
26mirror. Provision and verify that replacement before removing GitHub's live copy. This avoids
27operating an additional live host during the transitional period.
28
29[[oc-9949561]](../outcomes/oc-9949561-push-replication.md) tracks the replication outcome.
30[[dcr-db1acbb]](dcr-db1acbb-hetzner-replication-mechanism.md) is the superseded mechanism decision.