Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Used for Amazon Glacier inventory retrieval
{
"Type": "inventory-retrieval"
}
@jeffholst

This comment has been minimized.

Copy link
Owner Author

@jeffholst jeffholst commented Apr 24, 2019

Usage
aws glacier initiate-job --account-id [accountid] --vault-name [vaultname] --job-parameters file://inventory-retrieval.txt

Check status of job with:
aws glacier list-jobs --account-id [accountid] --vault-name [vaultname]

Retrieve results with:
aws glacier get-job-output --account-id [accountid] --vault-name [vaultname] --job-id [jobid] output.txt

Be sure to replace [accountid], [vaultname], and [jobid]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment