cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to take dump of all the database?

we are using this command to take dump of a single database:
sudo ./bin/neo4j-admin dump --database=demo.db --to=/mnt/backup

is there any way to specify to take dump of all database in a single command?

neo4j enterprise edition: v4.4.4

1 REPLY 1

@sai.prasad1

running neo4j-admin dump --help includes details as to what options are available to run this command. This does no include any option for example --aldbs and so there is no option to dump in a single command.

However I'm not sure how this would be any different than

sudo ./bin/neo4j-admin dump --database=demo.db --to=/mnt/backup
sudo ./bin/neo4j-admin dump --database=demo.db2 --to=/mnt/backup
sudo ./bin/neo4j-admin dump --database=demo.db3 --to=/mnt/backup
sudo ./bin/neo4j-admin dump --database=demo.db4 --to=/mnt/backup