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