All Projects → cameronhunter → glacier-cli

cameronhunter / glacier-cli

Licence: MIT license
Amazon AWS Glacier command line interface for Linux, Mac and Windows

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to glacier-cli

glacier-upload
A simple python script to upload files to AWS Glacier vaults
Stars: ✭ 106 (+457.89%)
Mutual labels:  amazon-glacier
iceshelf
A simple tool to allow storage of signed, encrypted, incremental backups using Amazon's Glacier storage
Stars: ✭ 28 (+47.37%)
Mutual labels:  aws-glacier

Glacier CLI Build Status

A command line client to Amazon Glacier, an extremely low-cost storage service that provides secure and durable storage for data archiving and backup.

Usage

$ glacier --help

Usage: glacier [command]

Commands:

  upload <vault> <file...>
  download <vault> <archive_id> <output_file>
  delete <vault> <archive_id>
  inventory <vault>
  vaults

Options:

  -h, --help                                Show this message
  -a, --accessKey <AWS_ACCESS_KEY>          AWS Access Key ID
  -s, --secretKey <AWS_SECRET_ACCESS_KEY>   AWS Secret Access Key ID
  -r, --region <AWS_REGION>                 AWS Region

Commands

Upload file1.zip and file2.zip to vault pictures

$ glacier-upload pictures file1.zip file2.zip

Download archive with id xxx from vault pictures to file pic.tar (takes >4 hours)

$ glacier-download pictures xxx pic.tar

Delete archive with id xxx from vault pictures

$ glacier-delete pictures xxx

Get the inventory for vault pictures (takes >4 hours)

$ glacier-inventory pictures

Upload file1.zip and file2.zip to vault pictures

$ glacier-upload pictures file1 file2

List vaults

$ glacier-vaults

Advanced Configuration

Provide your AWS credentials by setting AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_REGION environment variables or using properties files:

~/.aws/credentials:

[default]
aws_access_key_id={YOUR_ACCESS_KEY_ID}
aws_secret_access_key={YOUR_SECRET_ACCESS_KEY}

~/.aws/config:

[default]
region={YOUR_AWS_REGION}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].