24.3. High Availability

To perform a backup on an HA cluster you specify one or more coordinators managing that cluster.

[Note]Note

If you have specified a cluster name for your HA cluster, you need to specify it when doing backups, so that the backup system knows which cluster to back up. Add the config parameter: -cluster my_custom_cluster_name

# Performing a full backup from HA cluster, specifying two possible coordinators
./neo4j-backup -full -from ha://192.168.1.15:2181,192.168.1.16:2181 -to /mnt/backup/neo4j-backup

# Performing an incremental backup from HA cluster, specifying only one coordinator
./neo4j-backup -incremental -from ha://192.168.1.15:2181 -to /mnt/backup/neo4j-backup

# Performing an incremental backup from HA cluster with a specific name (specified by neo4j configuration 'ha.cluster_name')
./neo4j-backup -incremental -from ha://192.168.1.15:2181 -to /mnt/backup/neo4j-backup -cluster my-cluster