You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -164,6 +165,10 @@ Note: this is an EXPERIMENTAL option. Consult Neo4j support before use.
164
165
|label:new[Introduced in 2025.04] When performing a differential backup, prefer the latest non-empty differential backup as the parent instead of the latest backup.
165
166
|false
166
167
168
+
|--remote-address-resolution[=true\|false]
169
+
|label:new[Introduced in 2025.09] Allow the DBMS to automatically determine which servers are eligible to serve as backup sources, instead of requiring manual selection.
170
+
|false
171
+
167
172
|--temp-path=<path>
168
173
|Provide a path to a temporary empty directory for storing backup files until the command is completed. The files will be deleted once the command is finished.
169
174
|
@@ -358,10 +363,26 @@ To view the latest processed transaction IDs (and other metrics) in Neo4j Browse
358
363
====
359
364
360
365
==== Targeting multiple servers
366
+
361
367
It is recommended to provide a list of multiple target servers when taking a backup from a cluster, since that may allow a backup to succeed even if some server is down, or not all databases are hosted on the same servers.
362
368
If the command finds one or more servers that do not respond, it continues trying to backup from other servers and continues backing up other requested databases, but the exit code of the command is non-zero, to alert the user to the fact there is a problem.
363
369
If a name pattern is used for the database together with multiple target servers, all servers contribute to the list of matching databases.
364
370
371
+
[role=label--new-2025.09]
372
+
==== Using `--remote-address-resolution`
373
+
374
+
Starting from 2025.09, the `--remote-address-resolution` option is available.
375
+
When enabled, the DBMS automatically selects the most appropriate servers to act as backup sources for a given database.
376
+
377
+
By default, the online backup command requires the user to determine which servers host the target database and direct the command to one of them.
378
+
With remote address resolution enabled, the DBMS performs this mapping automatically, removing the need for manual server selection.
379
+
380
+
The server selection occurs in the following order:
381
+
382
+
* The DBMS first selects all servers hosting the database in secondary mode.
383
+
* If it is not possible to back up from one of the secondaries, the DBMS attempts to take a backup from the primary followers before finally trying the database primary writer.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/backup-restore/planning.adoc
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -183,6 +183,9 @@ Backing up a database in a clustered environment is not essentially different fr
183
183
Use `SHOW DATABASE <database>` to learn which servers are hosting the database you want to back up.
184
184
See xref:clustering/monitoring/show-databases-monitoring.adoc#show-databases-monitoring-listing-single[Listing a single database] for more information.
185
185
186
+
Starting from 2025.09, you can use the `--remote-address-resolution` option to let the DBMS select which servers to use as backup sources.
187
+
See xref:backup-restore/online-backup.adoc#_using_remote_address_resolution[Back up an online database -> Cluster configurations] for more details.
188
+
186
189
Restoring from the command line involves putting a copy of the database on disk on each server that will need it.
187
190
That can be awkward to achieve.
188
191
The recommended way to restore a database in a cluster is to xref::database-administration/standard-databases/seed-from-uri.adoc[seed from URI].
0 commit comments