4

I can get a dump of the current database as following:

neo4j-shell -c dump > dump.sql

Now how do I import that dump file into another database (using the shell)

Max
  • 3,824
  • 8
  • 41
  • 62
  • 1
    Please note that the `.sql` extension is confusing. The dump command dumps to cypher query language. – Louis Dec 14 '16 at 10:19

1 Answers1

5
neo4j-shell -file dump.sql

The shell will exit after executing the file. See http://neo4j.com/docs/2.2.2/re02.html

Luanne
  • 19,145
  • 1
  • 39
  • 51