O'Reilly logo

Learning Neo4j 3.x - Second Edition by Rik Van Bruggen, Jérôme Baton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Community version

To back up your data of a community version server, only cold backup (offline) is possible.

A first way, very basic, but not to say DIY, is: first stop your server, then copy the whole $NEO_HOME/data folder to a secure storage. Then restart your server.

To restore backup data, stop your server, replace the $NEO_HOME/data folder with your backup, and restart your server. 

Another way is to use the neo4j-admin utility program, installed with the server in $NEO_HOME/bin:

neo4j-admin dump --to=file --database=optionnalDBName

The to parameter should be a path to a file. The database parameter is optional and only needed if you have more than one database and want to dump a database other than graph.db.

To restore this dump of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required