RHEL: Backup
Please setup periodic backup for important data:
database and log files of Neo4j
database and log files and configuration files of Graphlytic
Backup
Stop Graphlytic and Neo4j. See RHEL: 5. Stop Graphlytic and "graphlytic.conf"
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>
Start Neo4j and Graphlytic. See RHEL: 4. Start Graphlytic
Restore backup
Stop Graphlytic and Neo4j. See RHEL: 5. Stop Graphlytic
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
Start Neo4j and Graphlytic. See RHEL: 4. Start Graphlytic