Documentation
¶
Overview ¶
Command elastickv-snapshot-decode is the Phase 0a snapshot decoder described in docs/design/2026_04_29_proposed_snapshot_logical_decoder.md.
It reads a snapshot in any form backup.ReadSnapshotFile accepts: the `fsm-snap/<index>.fsm` file a node persists (FSM snapshot header, store payload, CRC32C footer, which is verified), an encoder-produced stream, or a store's SST ingest bundle. It keeps the newest version of each key and writes a vendor-independent per-adapter directory tree rooted at --output. The output tree carries a MANIFEST.json describing the dump and a sha256sum(1)-compatible CHECKSUMS file the operator can verify with stock UNIX tooling — `sha256sum -c CHECKSUMS` from the dump root suffices, with no elastickv binary involved.
Phase 0a is offline-only. The tool needs a `.fsm` on disk; it does not talk to a running cluster. Phase 1 (separate design) adds a live-cluster extraction path that produces the same directory tree from a pinned read_ts.