Reputation: 51
I'm trying to dump a database on Neo4j Desktop 3.5.0 with:
...\bin> neo4j-admin dump --database=graph.db --to=/backup/db1.dump
And getting
command failed: Active logical log detected, this might be a source of inconsistencies.
Please recover database before running the dump.
To perform recovery please start database and perform clean shutdown.
The documentation states that "neo4j-admin must be invoked as the neo4j user in order to ensure the appropriate file permissions.". Might that be the problem?
If so, how to "invoke as the neo4j user"?
Upvotes: 5
Views: 5946
Reputation: 61
For me I was using different neo4j versions for creating (4.4.0) and dumping (4.2.6) the database
Upvotes: 0
Reputation: 1
I had the same problem on Neo4j 4.1, what worked for me was to simply:
After which neo4j-admin dump
worked.
Credit for the solution to @folterj's last answer on this thread.
Upvotes: 0
Reputation: 113
found workaround.
bin/neo4j console
neo4j-admin dump
respectiveryconfirmed on Neo4j Desktop 1.1.15
Upvotes: 10