Skip to content

Commit b1f5421

Browse files
authored
run consistency check against a specific full backup when many fulls … (#2607)
…are in same path
1 parent 93ce118 commit b1f5421

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

modules/ROOT/pages/backup-restore/consistency-checker.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Value can be plain numbers, like `10000000` or e.g. `20G` for 20 gigabytes, or e
115115
| xref:configuration/configuration-settings.adoc#config_server.directories.transaction.logs.root[`server.directories.transaction.logs.root`]
116116

117117
|--from-path=<path>
118-
|Path to the directory containing dump/backup artifacts that need to be checked for consistency. If the directory contains multiple backups, it will select the most recent backup chain, based on the transaction IDs found, to perform the consistency check.
118+
|label:changed[Changed in 2025.09] Path to a backup file or a directory containing dump/backup artifacts. If the path is to a single file, that artifact is selected and checked for consistency. If a directory is provided, the tool selects the most recent backup chain (based on transaction IDs) within it and checks that chain for consistency.
119119
|
120120

121121
|--temp-path=<path>
@@ -208,11 +208,13 @@ The backup chain must be aggregated into a full recovered backup artifact before
208208
See xref:backup-restore/aggregate.adoc[] for more details.
209209
====
210210

211-
Run with the `--from-path` option to check the consistency of a backup or a dump:
211+
Run with the `--from-path` option to check the consistency of a backup or a dump. +
212+
Starting with Neo4j 2025.09, the option accepts a path to a specific backup or dump file you want to be checked for consistency.
213+
If only the directory is provided, the most recent backup chain (based on transaction IDs) within that directory will be checked.
212214

213215
[source,shell]
214216
----
215-
bin/neo4j-admin database check --from-path=<directory-with-backup-or-dump> neo4j
217+
bin/neo4j-admin database check --from-path=<path-to-backup-or-dump> neo4j
216218
----
217219

218220
[[check-database-from-cloud-uris]]

0 commit comments

Comments
 (0)