Backups with Neo4j
Data backups are very important for any production environment. There are many things that can go wrong, such as the loss of hard drive, upgrade failure and so on. So, it is very important to take periodic backups of the Neo4j graph data.
In this recipe, you will learn various ways to take backups with both the Community and Enterprise Editions.
Getting ready
The following steps will get you started with the Neo4j backup recipe:
We have assumed that Neo4j is up and running. If it is not, use an appropriate recipe to deploy and run Neo4j.
If you are using the Neo4j Enterprise Edition, which comes with backup utilities, set the following configuration variables:
online_backup_enabled=true online_backup_server=ip:port
How to do it...
Neo4j comes in two editions, and in the following recipe, you can learn how to take backups with both of them.
Neo4j backup with Community Edition
Neo4j Community Edition does not come with any default backup utilities. So, a simple way of taking a backup...