Skip to content

Commit 58fc67d

Browse files
add database migrate step to import
1 parent 6aaba62 commit 58fc67d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

modules/embeddings-vector-indexes/pages/setup/import-dataset.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ docker container exec -u neo4j -it <containerName> /bin/bash
4141
----
4242
====
4343

44-
To import the dataset, use the link:https://neo4j.com/docs/operations-manual/current/backup-restore/restore-dump/[`neo4j-admin database load`] command and create a new database with the *same name* as the dump file.
44+
Use the link:https://neo4j.com/docs/operations-manual/current/backup-restore/restore-dump/[`neo4j-admin database load`] command to import the dump file and the link:https://neo4j.com/docs/operations-manual/current/database-administration/standard-databases/migrate-database/[`neo4j-admin database migrate`] command to migrate it to the Neo4j version your instance is running. Then create a new database with the *same name* as the dump file.
4545

4646
[source, shell]
4747
----
4848
bin/neo4j-admin database load recommendations-5.26 --from-path=./
49+
bin/neo4j-admin database migrate recommendations-5.26
4950
bin/cypher-shell -u neo4j -p <databasePassword> -d system 'CREATE DATABASE `recommendations-5.26` WAIT'
5051
----
5152

0 commit comments

Comments
 (0)