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
-
Stop Graphlytic and Neo4j. See UbuS: 5. Stop Graphlytic
-
Copy these directories to backup storage (location can be different if you change it during installation process):
-
/var/lib/neo4j
-
/var/log/neo4j
-
/usr/share/graphlytic
-
/var/log/graphlytic
-
-
Start Neo4j and Graphlytic. See UbuS: 4. Start Graphlytic
2. Restore backup
-
Stop Graphlytic and Neo4j. See UbuS: 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 UbuS: 4. Start Graphlytic