Ubu: Backup

Set up periodic backup for important data:

  • Database and log files of your graph database.

  • Database and log files of Graphlytic. The database contains users, groups, saved visualizations, ETL jobs, and all settings.

Backup

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

Restore backup

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