Skip to content

Commit d38fb63

Browse files
authored
Add an example to the online backup with lists of database names (#1507) (#1527)
Cherry-picked from #1507
1 parent 4d8a7e1 commit d38fb63

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

modules/ROOT/pages/backup-restore/online-backup.adoc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ bin/neo4j-admin database backup --type=full --to-path=/path/to/backups/neo4j neo
351351
----
352352
====
353353

354-
.Use `neo4j-admin database backup` to back up multiple databases.
354+
.Use `neo4j-admin database backup` to back up multiple databases
355355
====
356356
To back up several databases that match database a pattern you can use name globbing.
357357
For example, to backup all databases that start with *n* from your three-node cluster, run:
@@ -360,4 +360,14 @@ For example, to backup all databases that start with *n* from your three-node cl
360360
----
361361
bin/neo4j-admin database backup --from=192.168.1.34:6362,192.168.1.35:6362,192.168.1.36:6362 --to-path=/mnt/backups/neo4j --pagecache=4G "n*"
362362
----
363+
====
364+
365+
.Use `neo4j-admin database backup` to back up a list of databases
366+
====
367+
To back up several databases by name, you can provide a list of database names.
368+
369+
[source, shell,role=nocopy noplay]
370+
----
371+
neo4j-admin database backup --from=192.168.1.34:6362,192.168.1.35:6362,192.168.1.36:6362 --to-path=/mnt/backups/neo4j --pagecache=4G "test*" "neo4j"
372+
----
363373
====

0 commit comments

Comments
 (0)