Quick notes on running a manual consistency-check

| | Quick notes on running a manual consistency-check

Quick notes on running a manual consistency-check

It is an good idea to check backups with the Consistency checker.

The docs on that are at: https://neo4j.com/developer/kb/how-do-i-run-consistency-check-manually/

Basically it comes down to this commandline :

$ java -cp 'lib/*:system/lib/*' org.neo4j.consistency.ConsistencyCheckTool /tmp/graph.db
Perhaps some environment variables are assumed which I have not set on my production machine but the commandline above failed moaning about not being able to find the main class:
Error: Could not find or load main class org.neo4j.consistency.ConsistencyCheckTool

After explicitly including the path to Neo4J it works fine;

java -cp 'lib/*:system/lib/*:/usr/share/neo4j/lib/*' org.neo4j.consistency.ConsistencyCheckTool graph.db

 

 

By | 2017-08-27T13:07:14+00:00 augustus 27th, 2017|Categories: Neo4J|0 Comments

Leave A Comment