I don't have experience in neo4j and I don't know if what I want to do is possible. I have an external application that is responsible for analyzing android applications and creates a database in neo4j generating the following files:
I looked in the documentation but could not find how to do it
Is it possible to take these files as input to view the database with neo4j desktop or browser?
Thank you all.
@gabrieliturrab re-reading your question, it seems that maybe i did not understand your question well.
Do you already have a neo4j database created and you now want to create a backup database dump file and load it on another instance?
Maybe you should check instead:
Thank you for responding, @paul.are .
The application I mentioned earlier is supposed to already create the database and it should be contained in the image files.
Then what I need to do is from those files import it into neo4j and visualize the entities and relationships.
I hope it was understood better. I checked the links you attached but I'm not sure what I mentioned is explained.
Thank you very much.
@paul.are Got the same question as @gabrieliturrab. I've exported / dumped a bunch of Neo4j files into a zip or tar.gz and when it's extracted, theres a graph.db folder with files listed in the original question asked.
How do I use those files and restore them into the Neo4j Desktop app? I thought this would be a little more straightforward, but I've only found support for dump files.
I ran into this problem after trying to import an old graphene.db (neo4j as a service) database as they provide a zipped graph.db folder when exporting from their console (rather than using a proper db dump via the admin).
They way I got it running within the neo4j desktop environment was by creating a new database (best if you can match the version of the database you were running) and when it's finished installing, opening the directory where the database is held (click on the dropdown arrows, then "Open Folder".
Then navigate to where the graph.db folder is located (I found it at
dbms-randomlyGeneratedID\data\databases\graph.db) and replace the contents.
Running this didn't work immediately for me, I receiving errors when trying to start up the db. Checking the logs, it seems to be that the
.id files were in conflict (for example,
..\graph.db\neostore.relationshipgroupstore.db.id). After deleting all of the files ending in
.id and restarting the database, it launched with no problems as the ids are regenerated on startup.
It appears there may be some issues after all...though the db is starting up and I can launch the Neo4j browser, it seems queries based on node labels/properties are not functioning property.
I went through what I thought to be the exact same process (same neo4j version created in neo4j desktop, same id files deleted...) however this time everything appears to be functioning as expected ¯_(ツ)_/¯
is this really the way to go?
I have an application running and for a test-system I need to do a copy of that DB and store it on the test-system. Then I open Neo4J Desktop, create a new Database local. Afterwards I copy the files from my app into the DB folder Neo4J desktop has created overwriting the existing ones. Then I can start the DB. Next day the DB is broken and I restart with the process above.
Isn't there an easier way to import a Neo4j DB of the same version into Neo4J desktop on another system?