Neo4j DB Upgrade to 3.5.8 from 3.x
This section describes how to upgrade a single Neo4j instance.
Pre-upgrade steps
- If the database is running, shut it down cleanly.
- Perform and verify backups:
• Back up neo4j.conf.
• If using native user and role management, back up the data/dbms directory.
• Back up all the files used for encryption, i.e. private key, public certificate, and the contents of the trustedand revoked directories.
• Verify that you have a full backup that is stored in a safe location, either using the online backup tool or offline backups.
Steps to upgrade
- Refer Neo4j Installation to download operating system specific Neo4j folder.
- Untar or unzip Neo4j 3.5.8 folder
- Set dbms.allow_upgrade=true in neo4j.conf of the 3.5.8 installation. Neo4j will fail to start without this configuration.
- If using native user and role management, copy the data/dbms directory into the new location.
- Copy the files used for encryption from the old installation to the new one.
- Copy the data directory from the old installation to the new one. This step is not applicable if you have dbms.directories.data pointing to a directory outside of NEO4J_HOME.
- Start up Neo4j 3.5.8. The database upgrade will take place during startup.
Post-upgrade steps
- When the upgrade has finished, dbms.allow_upgrade should be set to false or be removed.
- Restart the database.
- It is good practice to make a full backup immediately after the upgrade.
Back to Top
©2021 Cognizant, all rights reserved. US Patent 10,410,152