This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
#!/bin/sh |
| 2 |
make maven-classpath.txt |
| 3 |
. ./classpath.sh |
| 4 |
# TODO: link to src/java/chambrebasse.properties.sample |
| 5 |
export BACKUP_LOCATION=/var/db/neo4j/backups |
| 6 |
if [ -e $BACKUP_LOCATION/neostore ]; |
| 7 |
then java org.neo4j.backup.BackupTool --from single://localhost --to $BACKUP_LOCATION --incremental ; |
| 8 |
else echo "Server should not be running during a full backup" ; |
| 9 |
java org.neo4j.backup.BackupTool --from single://localhost --to $BACKUP_LOCATION --full; |
| 10 |
fi |