Skip to content

Commit

Permalink
Prefer seed from uri (#2024)
Browse files Browse the repository at this point in the history
Cherry-picks: #2010
  • Loading branch information
jackwaudby authored Dec 20, 2024
1 parent 0ff6474 commit 442ec77
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,17 @@ By appending `DUMP DATA` to the command `DROP DATABASE`, you can create a dump o
DROP DATABASE movies DUMP DATA
----

These dumps are equivalent to those produced by xref:backup-restore/offline-backup.adoc[`neo4j-admin database dump`] and can be similarly restored using the xref:backup-restore/restore-dump.adoc[`neo4j-admin database load`] command.

In Neo4j, dumps can be stored in the directory specified by the xref:configuration/configuration-settings.adoc#config_server.directories.dumps.root[`server.directories.dumps.root`] setting (by default, the path for storing dumps is xref:configuration/file-locations.adoc#data[`<neo4j-home>/data/dumps`]).
You can use dumps to create databases through the xref:clustering/databases.adoc#cluster-seed-uri[Seed from URI approach].

The option `DESTROY DATA` explicitly requests the default behavior of the command.

[NOTE]
====
The dumps produced by `DUMP DATA` are equivalent to those produced by xref:backup-restore/offline-backup.adoc[`neo4j-admin database dump`].
You can also restore them using the xref:backup-restore/restore-dump.adoc[`neo4j-admin database load`] command.
====

[[delete-existing-db-with-dump]]
=== Delete a database with `IF{nbsp}EXISTS` and `DUMP DATA`/`DESTROY DATA`

Expand Down

0 comments on commit 442ec77

Please sign in to comment.