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.
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