Skip to content

Commit 703b768

Browse files
Improve the 5th level headings (#2124) (#2129)
1 parent 43fd238 commit 703b768

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

modules/ROOT/pages/clustering/databases.adoc

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -320,35 +320,35 @@ If not used stores were more up to date than the used ones, this results in data
320320
====
321321

322322
[[specified-servers]]
323-
===== Specified servers
323+
Specified servers::
324324

325325
You can specify a set of available servers.
326326
The stores on all allocations will be synchronized to the most up-to-date store from the defined servers.
327327
The number of defined servers cannot exceed the number of total allocations in the desired topology.
328-
328+
+
329329
[source, shell]
330330
----
331331
CALL dbms.cluster.recreateDatabase("neo4j", {seedingServers: ["serverId1", "serverId2", "serverId3"]});
332332
----
333333

334334
[[undefined-servers]]
335-
===== Undefined servers
335+
Undefined servers::
336336

337337
If you provide an empty list of seeding servers and do not specify a `seedURI`, Neo4j automatically selects all available allocations of the database as seeders.
338338
The store will be replaced by the most up-to-date seeder available in the cluster.
339-
339+
+
340340
[source, shell]
341341
----
342342
CALL dbms.cluster.recreateDatabase("neo4j", {seedingServers: []});
343343
----
344344

345345
[[undefined-servers-backup]]
346-
===== Undefined servers with fallback backup
346+
Undefined servers with fallback backup::
347347

348348
If both an empty list of seeding servers and a `seedURI` are provided, Neo4j finds all available allocations of the database and use those as seeders.
349349
However, if no available servers can be found, the database is recreated based on the backup or the dump defined by the URI.
350350
This means the store is replaced by the most up-to-date seeder if available; otherwise, the backup is used.
351-
351+
+
352352
[source, shell]
353353
----
354354
CALL dbms.cluster.recreateDatabase("neo4j", {seedingServers: [], seedURI: "s3:/myBucket/myBackup.backup"});
@@ -570,28 +570,27 @@ CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 'azb://myStorageAcco
570570
Starting from Neo4j 2025.01, the `CloudSeedProvider` supports seeding up to a specific date or transaction ID using the `seedRestoreUntil` option.
571571

572572
[role=label--new-2025.01]
573-
===== Seed up to a specific date
573+
Seed up to a specific date::
574574

575575
To seed up to a specific date, you need to pass the differential backup, which contains the data up to that date.
576-
577-
576+
+
578577
[source,shell]
579578
----
580579
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3:/myBucket/myBackup.backup', seedRestoreUntil: datetime("2019-06-01T18:40:32.142+0100") }
581580
----
582-
581+
+
583582
This will seed the database with transactions committed before the provided timestamp.
584583

585584
[role=label--new-2025.01]
586-
===== Seed up to a specific transaction ID
585+
Seed up to a specific transaction ID::
587586

588587
To seed up to a specific transaction ID, you need to pass the differential backup that contains the data up to that transaction ID.
589-
588+
+
590589
[source,shell]
591590
----
592591
CREATE DATABASE foo OPTIONS { existingData: 'use', seedURI: 's3:/myBucket/myBackup.backup', seedRestoreUntil: 123 }
593592
----
594-
593+
+
595594
This will seed the database with transactions up to, but not including transaction 123.
596595

597596
[role=label--deprecated]

0 commit comments

Comments
 (0)