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
Use tar archives to upload files #10
Comments
Hello. Yes. I am planning to add option for multithreaded upload of one file from STDIN. So you will be able to |
That could be really good! Thank you again |
I was planning to do something like that: tar cz ... | mtglacier --journal=/path/to/journal --stdin --stdin-file-name=myarchive.tar --from-dir=/path/to/data that will
after restore
that's all. This way user will save time of writing huge archive to disk and reading it again by mtglacier. What you asking for - auto arching/unarchiving - will make workflow pretty complex to the end user. Also other thoughts: Glacier full restore is pretty expensive, so typical use case is use it as secondary backup, not as primary. In this case ease of restore is not much required. But maybe you have idea how to support, say, tar + tag.gz archiving / unarchiving and not make the app extra complicated to implement and use, and keep Journal/Sync concept easy understandable? |
I do like your upload approach, i would say it's exactly what i would like to have. About the restore, my question was just to understand your intentions, but i see your point of view. I guess i will implement the restore function with a bash script file that could be executed after mtglacier.
|
Ok. cool. |
Ok, let me know if i can help you!
Once your implementation is ready i will switch my bash script. |
Upload single file or file from STDIN implemented (but only together with Journal functionality). Multithreaded. Without intermediate file buffering. see So, I am closing this. Reopen if you have more questions. |
Hi @vsespb
First of all, let me say thank you for your tool, it's very good!
Is it possible to add an option to archive data in tar chunks before upload them to glacier?
Create tar files will save glacier requests and will also improve the upload when a directory is full of small files.
Thanks!
Cheers
The text was updated successfully, but these errors were encountered: