gunk-dev/the-valley

ida-48c8868-stores-beyond-git.md

sourcee8c3a34d082fmain's published tip history
1.6 KiB · Rendered
1---
2type: idea
3id: ida-48c8868
4status: raw
5title: "Separate store-specific replication from common backup requirements"
6created: 2026-07-13
7source: musing during the S1 migration, 2026-07-13
8---
9
10# Separate store-specific replication from common backup requirements
11
12Future projects may keep important state outside Git. Live replication will need mechanisms suited
13to each store, while point-in-time backup can share a common policy and storage layer.
14
15Git can replicate through push mirrors. A database may use its transaction log, and an object store
16may provide replication rules. Each store type would declare how it maintains a current remote copy.
17
18Restic can protect the paths supplied by different stores. Those stores must first provide a
19consistent backup source. A running database may need a dump or quiescing step; copying its files
20alone may provide only crash-consistent data.
21
22Filesystem snapshots could help prepare stable input for backup. This use is separate from the
23choice of a live Git replication mechanism in
24[[dcr-d7952bc]](../decisions/dcr-d7952bc-phase0-replication-github-transitional.md).
25
26Deployed-service data, such as a remediation notebook or home-automation state, motivates the idea.
27Such data needs an explicit backup declaration even when it lives outside the valley data directory.
28[S4](../../design/user-scenarios.md#the-rest-of-the-ladder) is the scenario where deployed-service
29state becomes central.
30
31[[dcr-0f5d9b1]](../decisions/dcr-0f5d9b1-cue-config-host-module.md) describes the configuration's
32nested Git store. Expanding the supported store types remains exploratory under the current
33one-repository project boundary.