File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
modules/ROOT/pages/database-internals Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -74,16 +74,23 @@ Changing the store format of an existing database in a standalone server require
7474The following steps assume that you want to migrate the database called `mydb` to `block` format but the same steps apply to other formats.
7575
7676. Stop the database using the Cypher command `STOP DATABASE mydb`.
77- . Change the store format of the stopped database using one of the following options:
77+ . Change the store format of the stopped database using * one* of the following options:
7878
7979* Migrate an existing database using xref:tools/neo4j-admin/migrate-database.adoc[`neo4j-admin database migrate`] command.
80+ +
81+ [IMPORTANT]
82+ ====
83+ You do not need to run `neo4j-admin database copy` with the `--compact-node-store` option prior to running `neo4j-admin database migrate`.
84+ The database is inherently compacted during the migration process.
85+ ====
86+ +
8087For example:
8188+
8289[source,shell]
8390----
8491bin/neo4j-admin database migrate --to-format="block" mydb
8592----
86- +
93+
8794* Pass the new store format as an argument when using the xref:backup-restore/copy-database.adoc[`neo4j-admin database copy`] command to create a copy of an existing database.
8895For example:
8996+
@@ -131,6 +138,12 @@ bin/neo4j-admin database restore --from-path=/path/to/your-backup-folder/mydb-20
131138----
132139. Migrate the restored database to `block` format:
133140+
141+ [IMPORTANT]
142+ ====
143+ You do not need to run `neo4j-admin database copy` with the `--compact-node-store` option prior to running `neo4j-admin database migrate`.
144+ The database is inherently compacted during the migration process.
145+ ====
146+ +
134147[source,shell]
135148----
136149bin/neo4j-admin database migrate --to-format="block" mydb
You can’t perform that action at this time.
0 commit comments