RHEL: Backup

Please setup periodic backup for important data:

  • database and log files of Neo4j

  • database and log files and configuration files of Graphlytic

1. Backup

  1. Stop Graphlytic and Neo4j. See RHEL: 5. Stop Graphlytic and "graphlytic.conf"

  2. Copy these directories to backup storage (location can be different if you change it during installation process):

    • /var/lib/neo4j

    • /var/log/neo4j

    • <GL_HOME>

    • <main.dataDir>

    • <main.logDir>

    • <main.widgetsDir>

    • <main.iconsDir>

  3. Start Neo4j and Graphlytic. See RHEL: 4. Start Graphlytic

2. Restore backup

  1. Stop Graphlytic and Neo4j. See RHEL: 5. Stop Graphlytic

  2. Copy directories from backup storage into correct locations (location can be different if you change it during installation process). You can also set correct permissions:

    $ sudo chown -R neo4j:neo4j /var/lib/neo4j /var/log/neo4j
    $ sudo chown -R graphlytic:graphlytic /usr/share/graphlytic /var/log/graphlytic
  3. Start Neo4j and Graphlytic. See RHEL: 4. Start Graphlytic