Neo4J Online-Backups
Online backups are only avaible with a Neo4j Enterprise and a license, see https://neo4j.com/licensing/ for the different licenses available
This tutorial explains how to carry out an online backup of your Neo4J database in a kubernetes cluster.
One of the benefits of doing an online backup is that the Neo4j database does not need to be stopped, so there is no downtime. Read the docs
To use Neo4j Enterprise you must add this line to your configmap, if using, or your deployment nitro-neo4j
env.
Create a Backup in Kubernetes
You should now have a backup of the database locally. If you want, you can simulate disaster recovery by sshing into the nitro-neo4j pod, deleting all data and restoring from backup
Disaster where database data is gone somehow
Restore a backup in Kubernetes
Restoration must be done while the database is not running, see our docs for how to stop the database, but keep the container running
After, you have stopped the database, and have the pod running, you can restore the database by running these commands:
Revert your changes to deployment nitro-neo4j
which will restart the database.
Last updated