UbuS: Backup

Please setup periodic backup for important data:

  • database and log files of Neo4j. Database contains all data including users and settings

  • database and log files of Graphlytic. Database contains ETL jobs.

1. Backup

  1. Stop Graphlytic and Neo4j. See UbuS: 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 UbuS: 4. Start Graphlytic

2. Restore backup

  1. Stop Graphlytic and Neo4j. See UbuS: 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 UbuS: 4. Start Graphlytic