glacier

command module
v0.0.0-...-83281b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2015 License: MIT Imports: 13 Imported by: 0

README

Command line client for Amazon Glacier.

Basic usage

Run glacier -help for a list of all supported commands.

Keys

Keys can be provided on the command line (-secret=xxx -access=xxx), in a file (-keys=keyfile which has the secret key before the access id key), or by environment variables (AWS_SECRET_KEY, AWS_ACCESS_KEY).

Uploading

Uploading an archive, returns the archive id: glacier archive upload us-east-1 testvault file.zip "Description of file.zip"

Upload a large archive in 64 MiB parts, returns the archive id: glacier multipart run us-east-1 testvault file.zip 64 "Description of file.zip"

Downloading

Initiate a download job, returns job id, and retrieve it once it's complete: glacier job archive us-east-1 testvault archiveid snstopic "Descripiton of retrieval job" glacier job get archive us-east-1 testvault jobid file.zip

Downloading a large file in 64 MiB parts by initiating the retrieval job, waiting and periodically poll to see if the retrieval is complete, and then download the file: glacier job run us-east-1 testvault archiveid 64 file.zip

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL