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

How to load a DB dump in community edition? #6

Open
mangotee opened this issue Jan 11, 2024 · 0 comments
Open

How to load a DB dump in community edition? #6

mangotee opened this issue Jan 11, 2024 · 0 comments

Comments

@mangotee
Copy link

Hi,
sorry, I am a neo4j beginner, and I am trying to follow instructions for session23. Specifically, I am trying to load the legislation database dump, as stated by the instructions in the README file:

Import the DB dump with the following command: ./neo4j-admin database load --from-path=/path..to..file/ legislation

Unfortunately, this loads the database into a new database called legislation instead of into the default neo4j database, as indicated here:

root@61389ec97be7:/var/lib/neo4j# neo4j-admin database info
Database name:                legislation
Database in use:              false
Store format version:         record-aligned-1.1
Store format introduced in:   5.0.0
Last committed transaction id:79
Store needs recovery:         false

Database name:                neo4j
Database in use:              true
Last committed transaction id:-1
Store needs recovery:         true

Database name:                system
Database in use:              true
Last committed transaction id:-1
Store needs recovery:         true

This database is not activated though (Database in use: False), and the documentation states that I cannot have multiple DBs in the community edition. How can I use the neo4j-admin command to either load the legislation dump's contents into the default neo4j DB, or rename it during the load?

Thanks in advance! :)

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

No branches or pull requests

1 participant