Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sangahco/docker-glacier-cli
AWS Glacier Command Line Interface with Multipart Upload
https://github.com/sangahco/docker-glacier-cli
aws glacier
Last synced: about 2 months ago
JSON representation
AWS Glacier Command Line Interface with Multipart Upload
- Host: GitHub
- URL: https://github.com/sangahco/docker-glacier-cli
- Owner: sangahco
- Created: 2017-08-22T02:38:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-01T09:03:26.000Z (about 7 years ago)
- Last Synced: 2024-04-16T07:52:03.092Z (8 months ago)
- Topics: aws, glacier
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![HitCount](http://hits.dwyl.io/sangahco/sangahco/docker-glacier-cli.svg)](http://hits.dwyl.io/sangahco/sangahco/docker-glacier-cli)
[![Jenkins](https://img.shields.io/jenkins/s/https/dev.builder.sangah.com/job/glacier-cli.svg?style=flat-square)]()# AWS Glacier CLI with Multipart Upload
## Requirements
First make sure Docker and Docker Compose are installed on the machine with:
$ docker -v
$ docker-compose -vIf they are missing, follow the instructions on the official website (they are not hard really...):
- [Docker CE Install How-to](https://docs.docker.com/engine/installation/)
- [Docker Compose Install How-to](https://docs.docker.com/compose/install/)## How to use this images
First of all you need to set some environment variables in order to use this script:
- **AWS_ACCESS_KEY_ID**
The AWS access key
- **AWS_SECRET_ACCESS_KEY**The AWS secret key
- **AWS_DEFAULT_REGION**The AWS default region
- **AWS_VAULT**
The AWS Vault name**Use the script `docker-auto.sh` to manage these services!**
$ ./docker-auto.sh --help
Backup a file with the following command:$ GLACIER_DATA=./data ./docker-auto.sh run -f filename_here -m 'some description here'
make sure to set the environment variable **GLACIER_DATA** to the folder where the file is located.Delete an archive from the Glacier Vault with the following command:
$ ./docker-auto.sh run -d
Retrieve the archive list:
$ ./docker-auto.sh run --archive-list
Retrieve the job list:
$ ./docker-auto.sh run --jobs
Retrieve the output of a job (json or binary depending on the job type):
$ ./docker-auto.sh run --job