I'm running the following command:
neo4j-admin load --force --from=/root/neo4j.dump --database=neo4j
And I'm getting the following error:
Selecting JVM - Version:11.0.23+9-LTS, Name:OpenJDK 64-Bit Server VM, Vendor:Red Hat, Inc.
Done: 142 files, 55.72MiB processed.
The loaded database is not on the latest format (current:v0.A.9, latest:SF4.3.0). Set dbms.allow_upgrade=true to enable migration.
Now:
I have added allow_upgrade=true to the configuration file
I've set NEO4J_CONF=/etc/neo4j just in case it wasn't picking up the right file
The source database is 3.5.34
The destination is 4.4.18
I've set NEO4J_DEBUG, but that doesn't provide any extra info (that I can see)
I dont think neo4j-admin load was designed so as to also upgrade a database from one Neo4j version to another. Generally it is used to read a dump file created on same version.
Okay, thanks. I was aware of the copy way, but that needs both Neo4js installed on the same server. I was hoping to export from neo 3 on old host, copy dump to new host, load into neo 4 there.
The error should say it's not possible, rather than saying to set a config (that doesn't work).
Looks like I'll need to install neo 3 into new machine, load dump file into that, then copy into neo 4.