Error Importing dump file

I am running Neo4j Desktop version 1.6.1.122, and the DBMS version is 5.24. I have created an initial graph and exported the .dump file using Neo4j Desktop.

When I try to run neo4j-admin database load ... in a Neo4j container(image: neo4j:5.24), I get the following error:

Failed to load database 'neo4j': Block format detected for database neo4j but unavailable in this edition.

Does this mean I can't import a dump file using community edition? Is there a way to get around this?

@chrismith

Per Store formats - Operations Manual block format is a Enterprise only format. So it is expected an error upon loading into community which does not support block

Thanks @dana_canzano - Is there a way in Neo4j Desktop to export the dump in a different format that is supported by community edition?

To export from the browser:

CALL apoc.export.cypher.all("database.cypher", {format: "cypher-shell"});

then to import from the shell:

cypher-shell -u neo4j -p password -f import/database.cypher
1 Like

From the dekstop you can create a dump file by clicking the three dots next to your database and choose dump. Then you can import the dump file by opening a terminal and cd to the bin directory of your database which you can locate from opening the import-DMBS from your neo4j desktop, then run the command: ./neo4j-admin database load --from-path="path to your dump file" --overwrite-destination=true neo4j

Hope it helps.

@dana_canzano Is block format supported in AuraDB Business Critical?

@chrismith
Yes, But this doesnt change a loaded databases format. i.e. if you are loading a dump in format X into Aura eventhough a newly created database would be in Block, since this is a load then it retains the same format