Upgrade Community to Enterprise
You can move from Neo4j 5 Community Edition to Neo4j 5 Enterprise Edition using the following steps.
If the information stored in the system database is not required when migrating, you can skip the steps associated with the system database.
-
Stop the running Neo4j 5 Community Edition server:
neo4j stop -
Backup the
systemandneo4jdatabases using theneo4j-admin database dumpcommand:neo4j-admin database dump neo4jneo4j-admin database dump systemBy default, dumps are located to data/dumps/. Alternatively, the location can be defined via the conf/neo4j.conf setting
server.directories.dumps.root. -
Uninstall the Neo4j Community Edition server.
-
Download and install the Neo4j Enterprise Edition server following the instructions in the Neo4j Operations Manual → Installation.
-
Load the
systemandneo4jdatabases into the Neo4j 5 Enterprise Edition server usingneo4j-admin database load:neo4j-admin database load neo4j --from-path=<path-to-community-neo4j-dump>neo4j-admin database load system --from-path=<path-to-community-system-dump> -
Navigate to the Neo4j 5 Enterprise Edition server and start it:
neo4j start -
If you are on 5.8 or an earlier version of Neo4j, you must manually upgrade the
systemdatabase. Connect to thesystemdatabase on any of the servers and run the following procedure:
CALL dbms.upgrade();
|
From version 5.9, the |
-
Drop the existing
neo4jdatabase that was created by default on startup. Note, this does not remove any store files loaded vianeo4j-admin database load.DROP DATABASE neo4j; -
Create the
neo4jdatabase using the store files loaded vianeo4j-admin database load:CREATE DATABASE neo4j;