[ aws . ebs ]

get-snapshot-block

Description

Returns the data in a block in an Amazon Elastic Block Store snapshot.

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  get-snapshot-block
--snapshot-id <value>
--block-index <value>
--block-token <value>
<outfile>

Options

--snapshot-id (string)

The ID of the snapshot containing the block from which to get data.

--block-index (integer)

The block index of the block from which to get data.

Obtain the BlockIndex by running the ListChangedBlocks or ListSnapshotBlocks operations.

--block-token (string)

The block token of the block from which to get data.

Obtain the BlockToken by running the ListChangedBlocks or ListSnapshotBlocks operations.

outfile (string) Filename where the content will be saved

See ‘aws help’ for descriptions of global parameters.

Output

DataLength -> (integer)

The size of the data in the block.

BlockData -> (blob)

The data content of the block.

Checksum -> (string)

The checksum generated for the block, which is Base64 encoded.

ChecksumAlgorithm -> (string)

The algorithm used to generate the checksum for the block, such as SHA256.