PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
glacier
The following command uploads an archive in the current folder named ``archive.zip`` to a vault named ``my-vault``:: aws glacier upload-archive --account-id - --vault-name my-vault --body archive.zip Output:: { "archiveId": "kKB7ymWJVpPSwhGP6ycSOAekp9ZYe_--zM_mw6k76ZFGEIWQX-ybtRDvc2VkPSDtfKmQrj0IRQLSGsNuDp-AJVlu2ccmDSyDUmZwKbwbpAdGATGDiB3hHO0bjbGehXTcApVud_wyDw", "checksum": "969fb39823836d81f0cc028195fcdbcbbe76cdde932d4646fa7de5f21e18aa67", "location": "/0123456789012/vaults/my-vault/archives/kKB7ymWJVpPSwhGP6ycSOAekp9ZYe_--zM_mw6k76ZFGEIWQX-ybtRDvc2VkPSDtfKmQrj0IRQLSGsNuDp-AJVlu2ccmDSyDUmZwKbwbpAdGATGDiB3hHO0bjbGehXTcApVud_wyDw" } Amazon Glacier requires an account ID argument when performing operations, but you can use a hyphen to specify the in-use account. To retrieve an uploaded archive, initiate a retrieval job with the `aws glacier initiate-job`_ command. .. _`aws glacier initiate-job`: http://docs.aws.amazon.com/cli/latest/reference/glacier/initiate-job.html
[-] get-data-retrieval-policy.rst
[edit]
[-] list-tags-for-vault.rst
[edit]
[+]
..
[-] describe-vault.rst
[edit]
[-] remove-tags-from-vault.rst
[edit]
[-] complete-multipart-upload.rst
[edit]
[-] list-parts.rst
[edit]
[-] list-multipart-uploads.rst
[edit]
[-] describe-job.rst
[edit]
[-] list-jobs.rst
[edit]
[-] add-tags-to-vault.rst
[edit]
[-] abort-multipart-upload.rst
[edit]
[-] get-job-output.rst
[edit]
[-] delete-vault.rst
[edit]
[-] upload-multipart-part.rst
[edit]
[-] initiate-job.rst
[edit]
[-] set-data-retrieval-policy.rst
[edit]
[-] list-vaults.rst
[edit]
[-] get-vault-notifications.rst
[edit]
[-] create-vault.rst
[edit]
[-] set-vault-notifications.rst
[edit]
[-] upload-archive.rst
[edit]
[-] initiate-multipart-upload.rst
[edit]