cancel
Showing results for 
Search instead for 
Did you mean: 

Dumping in Community edition

I'm using community edition of neo4j and trying to export my db using dump command of neo4j-admin:

neo4j-admin dump --database=neo4j --to=/export/00001.dump

but neo4j says:

The database is in use. Stop database 'neo4j' and try again.

I tried to stop DB using STOP DATABASE administrative command but this command only exists in enterprise edition!
So How can I dump my DB into a file?!

1 ACCEPTED SOLUTION

webtic
Graph Fellow

It is depending on the server platform, on Linux it is service neo4j stop
Either that or neo4j stop will stop the database.
Replace stop with start to start it again.

On windows I assume neo4j stop will work as well.

View solution in original post

1 REPLY 1

webtic
Graph Fellow

It is depending on the server platform, on Linux it is service neo4j stop
Either that or neo4j stop will stop the database.
Replace stop with start to start it again.

On windows I assume neo4j stop will work as well.

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.