A command line client to Amazon Glacier, an extremely low-cost storage service that provides secure and durable storage for data archiving and backup.
$ 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 RegionUpload file1.zip and file2.zip to vault pictures
$ glacier-upload pictures file1.zip file2.zipDownload archive with id xxx from vault pictures to file pic.tar (takes >4 hours)
$ glacier-download pictures xxx pic.tarDelete archive with id xxx from vault pictures
$ glacier-delete pictures xxxGet the inventory for vault pictures (takes >4 hours)
$ glacier-inventory picturesUpload file1.zip and file2.zip to vault pictures
$ glacier-upload pictures file1 file2List vaults
$ glacier-vaultsProvide 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}