Skip to content

Commit 6068d4a

Browse files
Fix cloud URIs (#2195) (#2198)
1 parent 5683ddb commit 6068d4a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

modules/ROOT/pages/clustering/databases.adoc

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

305305
[source, shell]
306306
----
307-
CALL dbms.cluster.recreateDatabase("neo4j", {seedURI: "s3:/myBucket/myBackup.backup"});
307+
CALL dbms.cluster.recreateDatabase("neo4j", {seedURI: "s3://myBucket/myBackup.backup"});
308308
----
309309

310310
[[seed-servers]]
@@ -351,7 +351,7 @@ This means the store is replaced by the most up-to-date seeder if available; oth
351351
+
352352
[source, shell]
353353
----
354-
CALL dbms.cluster.recreateDatabase("neo4j", {seedingServers: [], seedURI: "s3:/myBucket/myBackup.backup"});
354+
CALL dbms.cluster.recreateDatabase("neo4j", {seedingServers: [], seedURI: "s3://myBucket/myBackup.backup"});
355355
----
356356

357357
[[alter-topology-recreate]]
@@ -537,7 +537,7 @@ include::partial$/aws-s3-credentials.adoc[]
537537
+
538538
[source,shell, role="nocopy"]
539539
----
540-
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3:/myBucket/myBackup.backup' }
540+
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3://myBucket/myBackup.backup' }
541541
----
542542

543543
======
@@ -550,7 +550,7 @@ include::partial$/gcs-credentials.adoc[]
550550
+
551551
[source,shell]
552552
----
553-
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 'gs:/myBucket/myBackup.backup' }
553+
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 'gs://myBucket/myBackup.backup' }
554554
----
555555
======
556556
[role=include-with-Azure-cloud-storage]
@@ -576,7 +576,7 @@ To seed up to a specific date, you need to pass the differential backup, which c
576576
+
577577
[source,shell]
578578
----
579-
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3:/myBucket/myBackup.backup', seedRestoreUntil: datetime("2019-06-01T18:40:32.142+0100") }
579+
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3://myBucket/myBackup.backup', seedRestoreUntil: datetime("2019-06-01T18:40:32.142+0100") }
580580
----
581581
+
582582
This will seed the database with transactions committed before the provided timestamp.
@@ -588,7 +588,7 @@ To seed up to a specific transaction ID, you need to pass the differential backu
588588
+
589589
[source,shell]
590590
----
591-
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3:/myBucket/myBackup.backup', seedRestoreUntil: 123 }
591+
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3://myBucket/myBackup.backup', seedRestoreUntil: 123 }
592592
----
593593
+
594594
This will seed the database with transactions up to, but not including transaction 123.
@@ -617,7 +617,7 @@ Each configuration value is specified as a name followed by `=` and the value, a
617617

618618
[source, cypher, role="noplay"]
619619
----
620-
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3:/myBucket/myBackup.backup', seedConfig: 'region=eu-west-1' }
620+
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3://myBucket/myBackup.backup', seedConfig: 'region=eu-west-1' }
621621
----
622622

623623
`S3SeedProvider` also requires passing in credentials.
@@ -629,7 +629,7 @@ If this configuration is not performed, the `seedCredentials` option fails.
629629

630630
[source, cypher, role="noplay"]
631631
----
632-
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3:/myBucket/myBackup.backup', seedConfig: 'region=eu-west-1', seedCredentials: [accessKey];[secretKey] }
632+
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3://myBucket/myBackup.backup', seedConfig: 'region=eu-west-1', seedCredentials: [accessKey];[secretKey] }
633633
----
634634
Where `accessKey` and `secretKey` are provided by AWS.
635635

@@ -643,11 +643,11 @@ Where `accessKey` and `secretKey` are provided by AWS.
643643

644644
| `file:`
645645
| `FileSeedProvider`
646-
| `file:/tmp/backup1.backup`
646+
| `file://tmp/backup1.backup`
647647

648648
| `ftp:`
649649
| `URLConnectionSeedProvider`
650-
| `ftp:://myftp.com/backups/backup1.backup`
650+
| `ftp://myftp.com/backups/backup1.backup`
651651

652652
| `http:`
653653
| `URLConnectionSeedProvider`

0 commit comments

Comments
 (0)