Google Cloud Storage Backup Tool
- JRE 1.8 or higher
- Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files
- git
- Maven
- A Google Cloud Storage bucket with "Storage Object Creator" role service account.
Get the sources:
$ git clone https://github.com/pmoor/gletscher.git
$ cd gletscher/
Compile the latest version:
$ mvn verify
Try running the command:
$ java -jar target/gletscher-*-jar-with-dependencies.jar \
help
Create your first backup config file by copying the sample and adjusting the relevant options:
$ cp sample-config.yaml config.yaml
$ ${EDITOR} config.yaml
Take a backup:
$ java -jar target/gletscher-*-jar-with-dependencies.jar \
backup -c config.yaml
To restore the latest backup:
$ java -jar target/gletscher-*-jar-with-dependencies.jar \
restore -c config.yaml "My Restore Directory"