Loading...

Command Line - Amazon S3 Glacier Using Life Cycle Rule

After generating the chunk files, the recall can be initiated from the command line. For more information on generating the chunk files, see Restoring Data from Archive Cloud Storage Using Command Line.

Windows

CloudTestTool.exe -h s3.[region].amazonaws.com -u <Access Key> -p <Secret Access Key> -b <bucket> -c 0 -f "C:\<software installation path>\Base\Temp\ChunkList_mount_path_ID.txt" -d <days>

Linux

.\CloudTestTool.exe -h s3.[region].amazonaws.com -u <Access Key> -p <Secret Access Key> -b <bucket> -c 0 -f "/opt/commvault/Base/Temp/ChunkList_mount_path_ID.txt" -d <days>

Options

Description

-h

A valid endpoint name for the Amazon S3 region provided by the agency.

Default: s3.[region].amazonaws.com

Example: s3.us-west-1.amazonaws.com

To find the region, see https://docs.aws.amazon.com/general/latest/gr/rande.html.

-u

Access Key

-p

Secret Access Key

-b

Bucket Name

-f

Location of the chunk list file.

Note: If the CloudTestTool is run from any MediaAgent that has access to the Cloud library, make sure to copy the ChunkList_mount_path_ID.txt file to the MediaAgent and provide the appropriate location of the file.

-d

No. of days to keep the recalled data in Amazon S3 after the recall.

Default is set to 3 days.

-c

The recall mode that must be used to recall data. Default is set to 0, which is Standard mode. Valid values are:

0 - Standard

1 - Expedited

Note: Expedited mode will incur additional costs.

2 - Bulk

For more information on the recall modes, see http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOSTrestore.html.

Last modified: 3/26/2019 5:37:12 PM