Reputation: 2331
I have created an app that uses a Neo4J database. I developed a local instance in Windows, purchased some space on a development GrapheneDB server, migrated my database, and had a few users test out my app. There are a few issues in my application that I wish to debug. I want to do development on a copy of their data only on my local instance of Neo4j. GrapheneDB offers the ability to download a graph.db.zip file that contains the contents of the database. How do I import this file using Neo4j desktop? It appears Neo4J desktop only imports csv files. I tried overwriting the graph.db folder with the contents of the zip file and my database doesn't appear in my Neo4J desktop. How do I import my GrapheneDB to my local?
Upvotes: 1
Views: 429
Reputation: 2905
Two approaches that are probably fairly similar under the hood:
neo4j-admin restore --from="C:\temp\graphdb"
databases
folder - it should be emptygraph.db
(the name needs to be exact)graphdb.zip
file into the new graph.db
folderI tested this on a graph with only one node, but it did work - I suspect the database version matching is pretty vital.
Upvotes: 2