O'Reilly logo

Building Web Applications with Python and Neo4j by Sumit Gupta

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

Backup and recovery

In this section, we will talk about options available for performing backups and restoring Neo4j database.

Backup and recovery is another challenge for distributed systems. Neo4j provides tools and utilities for performing online backup and recovery, which is in sync with the enterprise operational needs. It provides <$NEO4J_HOME>\bin\neo4j-backup as a command-line utility for performing the full and incremental/hot backups.

The following steps need to be performed to enable backups:

  • Enabling online backup: online_backup_enabled should be enabled in <$NEO4J_HOME>\conf\neo4j.properties.
  • Full backup: Create a blank directory on the machine where you want to take the full backup and run the following backup tool:
    <$NEO4J_HOME>\bin\neo4j-backup ...

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