Daryl
Daryl

Reputation: 35

Where to find dumped data (using dump command in Neo4j Shell) in Neo4j

Wondering where to find the dumped file of neo4j dump command. I was running Neo4j v2.1.3 in windows operating system. Please help thanks.

Upvotes: 1

Views: 792

Answers (1)

Brian Underwood
Brian Underwood

Reputation: 10856

I believe the dump command just outputs to the console, so you need to redirect the output. Something like:

Neo4jShell.bat -c "dump match (n:People)-[:Shared]-(m) return n,m;" > social.connection.db\test2.cql

Edited with the Windows version of the command

For UNIX systems a similar command works:

neo4j-shell -c "dump match (n:People)-[:Shared]-(m) return n,m;" > social.connection.db/test2.cql

Upvotes: 2

Related Questions