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.
Does Neo4j backup/restore mean Export/Import of graph database?
-
04-07-2023 - |
Domanda
I am new to graph database technique (switching from relational db).
In neo4j 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 neo4j option of export/import like of phpmyadmin?
Soluzione
Altri suggerimenti
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 neo4j, backup and restoring of graph database is same as export/import in relational database like mysql.
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