最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Can't load neo4j 4.1.0 dump file that was generated on Windows on my Mac - Stack Overflow

matteradmin2PV0评论

I am trying to load onto a mac a neo4j v4.1.0 database dump file created with neo4j-admin dumped from my working database on a windows machine. The dump file loads fine after I explort it and then I reload it in Windows. Both the database that I dumped from and that I am loading to run version 4.1.0. On my mac I open a terminal for my specific database. I located my neo4j-admin command and run the following command: ./neo4j-admin load --from=../import/my-db.dump --database=neo4j --force but I get the error: Not a valid Neo4j archive: ..import/my-db.dump. I checked the file type on my mac and it says Zstandard compressed data (v0.8+), Dictionary ID: None. I have also tried the neo4j-admin restore function. I originally exported the database on my Windows machine through neo4j-admin dump

I know the version of Neo4j is old and I would like to upgrade it, but my Windows machine is dying and crashes frequently. I would like to get the data moved to my mac first where I can upgrade it.

How do I load this dump file that was generated on a Windows machine on my Mac? Is this an issue with file format? Why will the file load on Windows but not on my Mac?

Neo4j Version: 4.1.0 OS: Windows 11 (export) MacOs Sequoia 15.1 API: neo4j-admin

Steps to reproduce

  1. On a windows machine, create a neo4j v4.1.0 database through Neo4J desktop.
  2. Open a terminal for a neo4j v4.1.0 database
  3. Run the following command: neo4j-admin dump --database=neo4j --to=/var/backups/neo4j-database.dump
  4. Copy the dump file created to a mac.
  5. Create a database v4.1.0 in neo4j desktop.
  6. Open a terminal for the database
  7. Move the dump file into the import directory
  8. Run the command: ./bin/neo4j-admin load --from=../import/neo4j-database.dump --database=neo4j --force

You will get the error: Not a valid Neo4j archive: ..import/neo4j-database.dump

Post a comment

comment list (0)

  1. No comments so far