Skip to content

Commit 76356fb

Browse files
Fix the cloud URIs (#2199)
Based on the PR #2195
1 parent 589d235 commit 76356fb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

modules/ROOT/pages/clustering/databases.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ See <<cluster-seed-uri, Seed from URI>> for more details.
318318

319319
[source, shell]
320320
----
321-
CALL dbms.cluster.recreateDatabase("neo4j", {seedURI: "s3:/myBucket/myBackup.backup"});
321+
CALL dbms.cluster.recreateDatabase("neo4j", {seedURI: "s3://myBucket/myBackup.backup"});
322322
----
323323

324324
[[seed-servers]]
@@ -365,7 +365,7 @@ This means the store is replaced by the most up-to-date seeder if available; oth
365365
+
366366
[source, shell]
367367
----
368-
CALL dbms.cluster.recreateDatabase("neo4j", {seedingServers: [], seedURI: "s3:/myBucket/myBackup.backup"});
368+
CALL dbms.cluster.recreateDatabase("neo4j", {seedingServers: [], seedURI: "s3://myBucket/myBackup.backup"});
369369
----
370370

371371
[[alter-topology-recreate]]
@@ -543,7 +543,7 @@ include::partial$/aws-s3-credentials.adoc[]
543543
+
544544
[source,shell, role="nocopy"]
545545
----
546-
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3:/myBucket/myBackup.backup' }
546+
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3://myBucket/myBackup.backup' }
547547
----
548548

549549
======
@@ -556,7 +556,7 @@ include::partial$/gcs-credentials.adoc[]
556556
+
557557
[source,shell]
558558
----
559-
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 'gs:/myBucket/myBackup.backup' }
559+
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 'gs://myBucket/myBackup.backup' }
560560
----
561561
======
562562
[role=include-with-Azure-cloud-storage label--new-5.25]
@@ -594,7 +594,7 @@ Each configuration value is specified as a name followed by `=` and the value, a
594594

595595
[source, cypher, role="noplay"]
596596
----
597-
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3:/myBucket/myBackup.backup', seedConfig: 'region=eu-west-1' }
597+
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3://myBucket/myBackup.backup', seedConfig: 'region=eu-west-1' }
598598
----
599599

600600
`S3SeedProvider` also requires passing in credentials.
@@ -606,7 +606,7 @@ If this configuration is not performed, the `seedCredentials` option fails.
606606

607607
[source, cypher, role="noplay"]
608608
----
609-
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3:/myBucket/myBackup.backup', seedConfig: 'region=eu-west-1', seedCredentials: [accessKey];[secretKey] }
609+
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3://myBucket/myBackup.backup', seedConfig: 'region=eu-west-1', seedCredentials: [accessKey];[secretKey] }
610610
----
611611
Where `accessKey` and `secretKey` are provided by AWS.
612612

@@ -622,11 +622,11 @@ Where `accessKey` and `secretKey` are provided by AWS.
622622
| `file:`
623623
| `URLConnectionSeedProvider` label:deprecated[Deprecated in 5.26], +
624624
`FileSeedProvider` label:new[Introduced in 5.26]
625-
| `file:/tmp/backup1.backup`
625+
| `file://tmp/backup1.backup`
626626

627627
| `ftp:`
628628
| `URLConnectionSeedProvider`
629-
| `ftp:://myftp.com/backups/backup1.backup`
629+
| `ftp://myftp.com/backups/backup1.backup`
630630

631631
| `http:`
632632
| `URLConnectionSeedProvider`

0 commit comments

Comments
 (0)