Skip to content
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

Can't list when the upload was done with another tool #10

Closed
michelpereira opened this issue Nov 4, 2012 · 2 comments
Closed

Can't list when the upload was done with another tool #10

michelpereira opened this issue Nov 4, 2012 · 2 comments

Comments

@michelpereira
Copy link

Hi.
I've upload all my data using FastGlacier and I can't get an archive list using glacier-cli, I'm using the same access key id and access secret.

Everything goes OK when I create a new vault using glacier-cli and upload files using the command line.

What more information can I give to you?

@basak
Copy link
Owner

basak commented Nov 4, 2012

Hi,

Due to the way Amazon Glacier works, the only way that a different program can pick up the contents of a vault uploaded to by another tool is to do an inventory retrieval, which is a slow operation (~4 hours). Further, the inventory is only updated by Amazon infrequently (every 24 hours if the vault has changed I think).

So the only way to get a different tool to pick up changes is to wait a couple of days and then have the tool retrieve the latest inventory and update its cache with the results.

In glacier-cli you can do this with the vault sync command.

Note that this is as a result of Amazon Glacier's design, not due to the implementation of any particular tool.

Since it sounds like glacier-cli is working as designed, I'll close this issue. If you find a bug operating vault sync, please file another issue. Note that issue #5 affects the vault sync command since inventories are lazily generated contrary to Amazon's documentation. I hope to fix this soon.

@basak basak closed this as completed Nov 4, 2012
@michelpereira
Copy link
Author

I've done new tests and it's not working, the job is created but I can't get the data. How can I contribute with more information regarding this issue?

sakoht added a commit to pkaleta/glacier-cli that referenced this issue Jan 14, 2014
7 sync with public project

I did a final test run after the cosmetic updates and things still look work.  Next I'll push to @piotr's public fork and update the PR to the original author.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants