Commit 57e1893
committed
chore(services): exclude nominatim and elasticsearch volumes from backups
Both contain deterministic indexes built from the OSM PBF that the
data-manager already downloads and hardlinks into infra/docker/data/.
The other heavy region-derived services (valhalla, motis, photon,
tileserver, overpass) all use bind-mounted infra/docker/data/<svc>/
without backup flags for the same reason — Nominatim and Pelias just
historically used named volumes.
Backups for these can hit ~100 GB each per snapshot for a Germany-
sized deployment, completely dominating snapshot size and prune cost
while saving only a 1–4h (Nominatim) or ~8h (ES/Pelias) rebuild on
disaster recovery — and during DR you'd typically want a fresh OSM
update anyway, which would invalidate the backed-up indexes.
The truly irreplaceable layers — postgis (auth/vault/audit), redis
(transit registry, app cache), traefik (ACME state) — keep
backup: true.1 parent 5361345 commit 57e1893
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments