Closed ikatson closed 11 years ago
No, it's the right way round. vault-name
needs to be replaced by your actual vault name and doesn't go in literally. $ANNEX_KEY
is the archive name from glacier-cli's perspective, and $ANNEX_FILE
is the local file.
I appreciate that it looks reversed, though! This is because when storing the data is going from $ANNEX_FILE
, and when retrieving the data is going to $ANNEX_FILE
.
glacier-store-hook = glacier archive upload --name=\"$ANNEX_KEY\" vault-name \"$ANNEX_FILE\"
The other lines have $ANNEX_KEY as the vault name.