You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/tools/neo4j-admin/migrate-configuration.adoc
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
You can use the `migrate-configuration` command to migrate a legacy Neo4j configuration file to the current format.
6
6
The new version will be written in a target configuration directory.
7
7
The default location for both the source and target configuration directory is the configuration directory specified by `NEO_CONF` or the default configuration directory for this installation.
8
+
Starting with Neo4j 2025.01, the root location of the configuration directory is xref:configuration/configuration-settings.adoc#_server_directories_settings.adoc#config_server.directories.configuration[`server.directories.configuration=conf`].
8
9
If the source and target directories are the same, the original configuration files will be renamed.
9
10
A configuration provided using `--additional-config` option will not be migrated.
10
11
@@ -57,16 +58,16 @@ The following example shows how to migrate a legacy configuration file to the cu
57
58
58
59
[source, shell, subs="attributes+"]
59
60
----
60
-
bin/neo4j-admin server migrate-configuration --from-path=/path/to/legacy/neo4j-enterprise-4.4.10/conf/ --to-path=/path/to/new/neo4j-enterprise-{neo4j-version-exact}/conf/
61
+
bin/neo4j-admin server migrate-configuration --from-path=/path/to/legacy/neo4j-enterprise-4.4.39/conf/ --to-path=/path/to/new/neo4j-enterprise-{neo4j-version-exact}/conf/
61
62
----
62
63
63
64
.Example output
64
65
[result]
65
66
----
66
-
Keeping original user-logs.xml file at: /neo4j-enterprise-5.1.0/conf/user-logs.xml.old
67
-
User logging configuration xml file generated: /neo4j-enterprise-5.1.0/conf/user-logs.xml
68
-
Keeping original server-logs.xml file at: /neo4j-enterprise-5.1.0/conf/server-logs.xml.old
69
-
Server logging configuration xml file generated: /neo4j-enterprise-5.1.0/conf/server-logs.xml
67
+
Keeping original user-logs.xml file at: /neo4j-enterprise-2025.1.0/conf/user-logs.xml.old
68
+
User logging configuration xml file generated: /neo4j-enterprise-2025.1.0/conf/user-logs.xml
69
+
Keeping original server-logs.xml file at: /neo4j-enterprise-2025.1.0/conf/server-logs.xml.old
70
+
Server logging configuration xml file generated: /neo4j-enterprise-2025.1.0/conf/server-logs.xml
Keeping original configuration file at: /neo4j-enterprise-5.1.0/conf/neo4j.conf.old
93
+
Keeping original configuration file at: /neo4j-enterprise-2025.1.0/conf/neo4j.conf.old
93
94
----
94
95
95
96
[NOTE]
96
97
====
97
-
The example output is not to be used to populate a new Neo4j 5 _neo4j.conf_ file.
98
+
The example output is not to be used to populate a new Neo4j 2025.01 _neo4j.conf_ file.
98
99
99
-
The 5.x syntactically correct configuration file can be found at _/path/to/new/neo4j-enterprise-{neo4j-version-exact}/conf/_, where `/path/to/new/neo4j-enterprise-{neo4j-version-exact}/conf/` is the value of `--to-path=`.
100
+
The 2025.01 syntactically correct configuration file can be found at _/path/to/new/neo4j-enterprise-{neo4j-version-exact}/conf/_, where `/path/to/new/neo4j-enterprise-{neo4j-version-exact}/conf/` is the value of `--to-path=`.
0 commit comments