-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need high level API for Glacier multipart-upload #1280
Comments
Yeah I think this would be a great addition to the CLI. |
Good Morning! We're closing this issue here on GitHub, as part of our migration to UserVoice for feature requests involving the AWS CLI. This will let us get the most important features to you, by making it easier to search for and show support for the features you care the most about, without diluting the conversation with bug reports. As a quick UserVoice primer (if not already familiar): after an idea is posted, people can vote on the ideas, and the product team will be responding directly to the most popular suggestions. We’ve imported existing feature requests from GitHub - Search for this issue there! And don't worry, this issue will still exist on GitHub for posterity's sake. As it’s a text-only import of the original post into UserVoice, we’ll still be keeping in mind the comments and discussion that already exist here on the GitHub issue. GitHub will remain the channel for reporting bugs. Once again, this issue can now be found by searching for the title on: https://aws.uservoice.com/forums/598381-aws-command-line-interface -The AWS SDKs & Tools Team This entry can specifically be found on UserVoice at: https://aws.uservoice.com/forums/598381-aws-command-line-interface/suggestions/33168388-need-high-level-api-for-glacier-multipart-upload |
Based on community feedback, we have decided to return feature requests to GitHub issues. |
I had the same problem three years ago which is why I wrote a small C program which calculates the tree hash for the glacier API. You can find it at my repo awstreehash. However, I actually don't recommend this anymore. Since November 2018 there is a much easier way now. If you don't insist on using the glacier API, then you can simply use the S3 API: |
Glacier supports multipart uploads just like S3, and do the following steps.
The hard part is #3.
glacier complete-multipart-upload
command requires--checksum
which is the SHA256 tree hash of the entire archive, but there is no easy way to compute this checksum with shell scripts.http://docs.aws.amazon.com/cli/latest/reference/glacier/complete-multipart-upload.html
It would be great if
glacier
has high levelcp
command andAs you know,
s3 cp
command works this way(8MB threshold is used there).The text was updated successfully, but these errors were encountered: