This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh - | |
#title :backup_neo4j_to_s3.sh | |
#description :This script is creating a NEO4J Backup through neo4j-backup tool, | |
# compress the backup folder via LZMA2 algorithm compression, and upload it to AWS S3. | |
#author :Quentin Rousseau <contact@quent.in> | |
#date :2014-07-28 | |
#version :1.1 | |
#usage :sh backup_neo4j_to_s3.sh ip port destination | eg. sh backup_neo4j_to_s3.sh 127.0.0.1 6362 /mnt/datadisk/backup | |
#dependencies :apt-get update && apt-get install p7zip-full && apt-get install awscli. | |
#============================================================================== |