forum/Replace glacier-cli?git-annexhttp://git-annex.branchable.com/forum/Replace_glacier-cli__63__/git-annexikiwiki2018-07-07T00:09:48Zcomment 1http://git-annex.branchable.com/forum/Replace_glacier-cli__63__/comment_1_318cd0ca9f4e997161ed22fffa5d5da3/joey2018-02-08T17:25:43Z2018-02-08T17:17:10Z
<p>There's been an open feature request on the haskell aws
for 5 years to support glacier <a href="https://github.com/aristidb/aws/issues/81">https://github.com/aristidb/aws/issues/81</a>
at this point I am doubtful anything will ever happen there.</p>
<p>The most likely approach seems to be to use the amazonka library, which
supports S3 with a Glacier lifecycle. git-annex's S3 remote could be
rewritten to use that.</p>
<p>I think it should be possible to set up a S3 bucket and configure it with
some web tool to have a Glacier lifecycle, and then use the existing
git-annex S3 support to access it. Except for the problem documented at
<span class="createlink"><a href="http://git-annex.branchable.com/ikiwiki.cgi?do=create&from=forum%2FReplace_glacier-cli__63__%2Fcomment_1_318cd0ca9f4e997161ed22fffa5d5da3&page=todo%2Fwishlist__60__strong__62__58__60__%2Fstrong__62___Restore_s3_files_moved_to_Glacier" rel="nofollow">?</a>strong> Restore s3 files moved to Glacier</span>.</p>
Thankshttp://git-annex.branchable.com/forum/Replace_glacier-cli__63__/comment_2_c91e393951825cdcceac845e234d7497/moaxey2018-02-19T20:57:09Z2018-02-19T20:57:09Z
I have it working smoothly now with glacier-cli.
switching to amazonkahttp://git-annex.branchable.com/forum/Replace_glacier-cli__63__/comment_3_405aad8dd28ea035226f7fda470fde33/andrew2018-02-21T18:15:05Z2018-02-21T18:15:05Z
<p>Switching to amazonka would have the benefit of supporting SSL traffic for S3, which is a feature I would enjoy (see git-annex forum thread <a href="http://git-annex.branchable.com/forum/No_SSL_traffic_for_S3__63__/">No SSL traffic for S3?</a>). I have no experience with the amazonka library though, so I can't comment on it.</p>
<p>—Andrew</p>
I've been using amazonka-glacier to stream uploads to glacierhttp://git-annex.branchable.com/forum/Replace_glacier-cli__63__/comment_4_a863eb91006df199fcdbc98f42b2d40b/abimelech2018-06-27T21:50:45Z2018-06-27T21:50:45Z
Could write a command-line app for it. I also have a couple open PRs against amazonka to fix the glacier support.
comment 5http://git-annex.branchable.com/forum/Replace_glacier-cli__63__/comment_5_fda6c754437385afa0851e680bf17cf0/joey2018-07-02T16:44:05Z2018-07-02T16:39:16Z
<p>@abimelech, why don't you work up a branch that makes the glacier special
remote be implemented with amazonka. If you want to start with a
separate utility that git-annex runs, that would be ok, but I think that
the goal should be for git-annex to end up using amazonka itself.</p>
<p>Once that happens, switching the S3
special remote from aws to amazonka would be a natural next step, which I'd
be inclined to work on myself. Seems easier to take this path than an
immediate leap to amazonka for everything.</p>
comment 6http://git-annex.branchable.com/forum/Replace_glacier-cli__63__/comment_6_2e7b5b6cc7c2e33be36c3c510adec01c/abimelech2018-07-07T00:09:48Z2018-07-07T00:09:48Z
<p>I've never used git-annex, so I'm not particularly enthusiastic about developing for it. If someone could describe what glacier actions are needed I could maybe code something up.
In any case, wouldn't we want to wait until a version of amazonka with functioning glacier support is released? Unless you'd want to add my git fork of the repo as a dependency...</p>