cancel
Showing results for 
Search instead for 
Did you mean: 

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

dana_canzano
Neo4j
Neo4j

@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
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.