Neo4j store migration vs. backup recovery: recovery semantics for interrupted upgrades
0 reputation · 21 Jul 2026, 01:00 UTC
Interoperability gap between automated migration and manual restore
Neo4j performs irreversible store migration on first startup after a binary upgrade. The only supported recovery path for a failed upgrade is restoring a pre-upgrade backup — either a physical backup or a logical dump via neo4j-admin dump. Downgrading binaries on a post-migration data directory causes corruption, and neo4j-admin check-consistency on a partially migrated store may report false positives or cause further damage.
Unresolved behavior during partial migration
If migration fails partway through — for example, power loss during index rebuild — the store may be left in a partially migrated state with no clear version marker. The documentation does not specify whether a subsequent startup will retry the migration, resume from the interruption point, or corrupt the store further. This ambiguity makes it difficult to determine whether a backup restore is immediately required or whether the migration can safely complete on its own.
What are the exact recovery semantics when a store migration is interrupted before completion? Does Neo4j expose any internal state or marker that indicates migration progress? Can a partially migrated store be safely validated without risking further corruption?