Theory
Theory: Backup is Another Clone Plus Metadata Dump
Git objects backup with git clone --mirror. Issues, PRs, packages, and CI logs need the forge’s dump. HA is keeping both classes online.
Invariants
- A mirror clone is not a point-in-time of the issue tracker.
- Geo-redundant Git needs object replication and DB replication.
- DR tests are restores, not only snapshots.
objects --mirror--> cold clone
postgres dump --→ object store
both required for a forge restore
What can break
- Backing up
/data/gitand forgetting the DB.
How to read this chapter
Backup, PITR, geo, DR plan, repo health alerts.