diff --git a/backup.sh b/backup.sh index e7d48305e9d9739a55afca39c0d6ff0e89222404..1066a84307db2ba86ca23f200e9755a4140b620e 100644 --- a/backup.sh +++ b/backup.sh @@ -2,8 +2,9 @@ if [ "$1" = "recover" ]; then - rm -rf /neodata + rm -rf /neodata/* echo "Starting Neo4j database recovery." + ls /one-backup tar -xvzf /one-backup/neo4j.tgz -C / exit 0 fi