This is an old revision of the document!
Glacier Tools
- shell script uploads whole or parts
Glacier Cheat Sheet
examples:
- list vaults:
aws glacier list-vaults --account-id 123456789012
- upload archive to existing vault (less than 5G):
aws glacier upload-archive --vault-name awsexamplevault --account-id 123456789012 --body archive.zip
-
Using S3 for Glacier
- to download first restore:
aws s3api restore-object --bucket sample2.txt --key sample.txt --restore-request '{"Days":5,"GlacierJobParameters":{"Tier":"Standard"}}'
- then check status:
aws s3api head-object --bucket DOC-EXAMPLE-BUCKET --key dir1/example.obj