Skip to content

Commit c2dcbab

Browse files
Update create-databases.adoc
1 parent d650f7b commit c2dcbab

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

modules/ROOT/pages/database-administration/standard-databases/create-databases.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,15 @@ The `IF NOT EXISTS` and `OR REPLACE` parts of these commands cannot be used toge
216216
====
217217

218218

219-
==== Create databases using seeding options
219+
==== Create a database using seeding options
220+
221+
In Neo4j, you can create a database using the URI of the seed.
222+
The following example shows how to seed the database `customers` from Amazon S3.
223+
224+
[source, cypher]
225+
----
226+
CREATE DATABASE customers OPTIONS {existingData: 'use', seedURI:'s3://myBucket/myBackup.backup'}
227+
----
220228

221229
Neo4j has built-in support for a seed from a mounted file system (file), FTP server, HTTP/HTTPS server, Amazon S3, Google Cloud Storage, and Azure Cloud Storage.
222230
The seed provider is determined by the xref:configuration/configuration-settings.adoc#config_dbms.databases.seed_from_uri_providers[dbms.databases.seed_from_uri_providers] setting, which defaults to `CloudSeedProvider`.
@@ -254,17 +262,9 @@ To use other providers, you must configure `dbms.databases.seed_from_uri_provide
254262
`azb://mystorageaccount.blob/backupscontainer/backup1.backup`
255263
|===
256264

257-
258-
The following example shows how to create a database using the URI of the seed:
259-
260-
[source, cypher]
261-
----
262-
CREATE DATABASE foo OPTIONS {existingData: 'use', seedURI:'s3://myBucket/myBackup.backup'}
263-
----
264-
265265
Starting from Neo4j 2025.01, seed from URI can also be used in combination with `CREATE OR REPLACE DATABASE`.
266266

267-
For more details and examples of seeding from URI, refer to the xref::clustering/databases.adoc#cluster-seed-uri[Manage databases in a cluster -> Seed from URI] page.
267+
For more information about the seeding from URI functionality, refer to the xref::clustering/databases.adoc#cluster-seed-uri[Manage databases in a cluster -> Seed from URI] page.
268268

269269
[[manage-databases-start]]
270270
== Start databases

0 commit comments

Comments
 (0)