Question

I am new to graph database technique (switching from relational db).

In there is option of backup strategy and restoring of graph database. While doing development my team should be able to have same graph db.

Is it same concept as export/import of relational databases? Does webadmin of option of export/import like of ?

Was it helpful?

Solution

A Neo4j backup basically creates a consistent full copy of the binary representation of your graph. You can move the directory created with neo4j-backup directly to data/graph.db directory of your server and start Neo4j. So the import step gets reduced to simply copying stuff over.

OTHER TIPS

In graph databases, data is stored as key=>pair. So there is no any schema stored in engine.

In neo4j data is stored on data folder. In , backup and restoring of graph database is same as export/import in relational database like .

Currently there is no option to backup/restore from webadmin. We can do it from console.

I use $NEO4J_HOME/bin/neo4j-shell -c dump > myDump.cypher

Then from web Console you can import the file and run it. Or even with the same tool you can import:

./bin/neo4j-shell -v -file myDump.cypher

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top