InfluxDB 3 Enterprise 3.12.2 (Home license), single node, PachaTree: lost V2 checkpoints, need to rebuild compactor lineage
A crash-consistent Proxmox VM backup (no guest agent, so no fs-freeze) left 0-byte files from the moment of the snapshot: all three cluster0/cv2/checkpoints/*.ptv2chk.lz4, several pt_snapshots/*.ptsnap, gen0/*.pt, pt_wal/*.pt and a few cv2/windows/.../run_sets/*.idx / files/*.pt. The same pattern exists in every nightly backup.
Startup failed with Failed to decompress V2 checkpoint: expected another byte, found none. After moving all 0-byte files aside:
--mode=allstarts with “no checkpoint found, starting empty” and queries returnnum_rows=0. The orphan sweep (mode=armed) then ran withcheckpoint_sequence=0, reachable_files=0, live_run_sets=0and listed almost allcv2/windowsfiles (data back to Feb 2026) as candidates. Nothing has been deleted; I stopped the server and moved that sweep_audit pass aside.--mode=ingest,query,processruns and new writes are queryable, but all historical data is invisible.
All ~4,400 compacted files (PACH magic, ~26 GB) are still on disk.
- How can I rebuild the V2 checkpoint/lineage from the existing
cv2/windowsfiles? - How can I safely disable the orphan sweep until then?
- Is
INFLUXDB3_UPGRADE_PACHA_TREE=truestill needed after migration?
