Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to import a raw database directory in neo4j community edition(HELP) #13458

Open
PCMasterRace007 opened this issue May 17, 2024 · 1 comment

Comments

@PCMasterRace007
Copy link

Hi guys. I have a very specific problem. I have a database zipped file and upon unzipping it, it has a standard neo4j database format. The format looks like this :

pharmebinet
│  ├─neostore.propertystore.db.strings
│  ├─neostore.relationshipstore.db
│  ├─neostore.schemastore.db.id
│  ├─neostore.propertystore.db
│  ├─neostore.relationshipgroupstore.db.id
│  ├─neostore.propertystore.db.index.id
│  ├─neostore.indexstats.db
│  ├─neostore.nodestore.db
│  ├─neostore.propertystore.db.id
│  ├─neostore.labelscanstore.db
│  ├─neostore.relationshiptypestore.db
│  ├─neostore.propertystore.db.arrays.id
│  ├─neostore.labeltokenstore.db.id
│  ├─neostore.relationshiptypestore.db.names
│  ├─neostore.propertystore.db.index
│  ├─neostore.relationshiptypestore.db.names.id
│  ├─neostore.relationshiptypestore.db.id
│  ├─schema
│  │  ├─index
│  │  │  ├─....
│  │  │  │  ├─....
│  ├─database_lock
│  ├─neostore.schemastore.db
│  ├─neostore.propertystore.db.index.keys.id
│  ├─neostore.relationshipstore.db.id
│  ├─neostore
│  ├─neostore.propertystore.db.index.keys
│  ├─neostore.propertystore.db.strings.id
│  ├─neostore.labeltokenstore.db.names
│  ├─neostore.labeltokenstore.db.names.id
│  ├─neostore.nodestore.db.id
│  ├─neostore.propertystore.db.arrays
│  ├─neostore.labeltokenstore.db
│  ├─neostore.counts.db
│  ├─neostore.relationshipgroupstore.db
│  ├─neostore.nodestore.db.labels.id
│  ├─neostore.id
│  └─neostore.nodestore.db.labels
└─store_lock

I have downloaded this database from somewhere else. I want to import this database in neo4j community edition, so i want to replace neo4j database with this one. However I am unable to do so, since the documentation only gives an idea of how to import .dump files and from CSV. How do i import a raw database file ?

@klaren
Copy link
Member

klaren commented May 27, 2024

No import will do this, import converts non-database files to database files. Since you already have the raw store files you just need to place them in the correct directory. For neo4j 5.x this would be $NEO4J_HOME/data/databases/neo4j.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants