Score:0

how to download archive in aws s3 glacier

kr flag

first, sorry for my bad english. i create a vault in glacier service and then i uploaded an archive into vault and in out-put, aws gave back me a archive id. then using the archive-id, i created a job for downloading using this command:

aws glacier initiate-job --account-id - --vault-name <example-vault-name> --job-parameters file://<created-json-file-using-aws-documentation>.json

after that, aws returned to me a location and job id. like this:

{
"location": "/1123213213131/vaults/<example-vault-name>/jobs/<some-string>",
"jobId": "<some-string>"
}

and then after than 3-5 hour, running this command:

aws glacier get-job-output --account-id - --vault-name <example-vault-name> --job-id <job-id> output.json

and the out-put above command. like this:

{
"checksum": "<some-string>",
"status": 200,
"acceptRanges": "bytes",
"contentType": "application/octet-stream",
"archiveDescription": "<uploaded-file-name>.zip"
}

and my question is a, now, how can i download the .zip ???

Score:0
kr flag

In the <output.json> field, you should write uploaded file name. if the uploaded file name you want retrive, is a: backup.zip, you should run your command like this:

aws glacier get-job-output --account-id - --vault-name <example-vault-name> --job-id <job-id> backup.zip

at the end, the backup.zip in your system. you can verify the downloaded file checksum, using the response checksum.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.