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)
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)
neo4j-shell -file dump.sql
The shell will exit after executing the file. See http://neo4j.com/docs/2.2.2/re02.html