Neo4j DB upgrade from 3.5.26 to 4.4.4

Prerequisites

  • Install OpenJDK 11 or Oracle Java 11.

Migration Steps:

Post migration steps:

  • When the upgrade has finished, dbms.allow_upgrade should be set to false or be removed.

  • Restart the database.

  • Update Neo4j version and database name in server-config.json inside "graph" section.

  • If you have changed Neo4j credentials then update "authToken" as well in server-config.json.

 

  • Command to backup Neo4j database in offline mode:

bin\neo4j-admin dump --database=neo4j --to=backups\neo4j-<timestamp>.dump

  • Command to load backed up Neo4j database:

bin\neo4j-admin load --from=backups/neo4j-<timestamp>.dump --database=neo4j --force

 

©2021 Cognizant, all rights reserved. US Patent 10,410,152