-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Glacier ArchiveTransferManager to take in a InputStream instead of File #645
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
Comments
Suggestion : Why not try using Bucket Lifecycle Configuration rules to archive the S3 objects to glacier ?. S3 also provides APIs to load data back from Glacier. |
There are several drawbacks of lifecycles which makes it hard for me to use in my use case.
My team and I are looking into how we could leverage lifecycles for our uses, but I still think this is a useful feature for Glacier transfer manager:
|
Thanks for the explanation. I will add this to our feature request back log. We love accepting pull requests from our customers. If you wish to submit a PR for this, I would be happy to take a look at it. |
+1 for InputStream upload |
This is just a quick update letting you know that the SDK team has reviewed the feature request list for V1 and this one looks like a great candidate for a community PR, which we’ll help merge in and support. |
We don't have plans to support this in v1 before going into Maintenance Mode, so I'll go ahead and close this feature request. Reference:
|
This issue is now closed. Comments on closed issues are hard for our team to see. |
Currently com.amazonaws.services.glacier.transfer.ArchiveTransferManager's upload() method and its variants only take in a File for uploading. This limits its use to uploading files which exist in the file system.
It would be great if the upload methods take in a InputStream such that the archive can be streamed.
Just to clarify, a use case:
I want to archive a lot of files in S3 into Glacier. I want to package the files into a single tar.gz then upload into Glacier. I would like to use as little extra disk space as possible while doing so. Currently I am limited to using low-level API only.
The text was updated successfully, but these errors were encountered: