CmdID

CmdID / aws / aws redshift

aws redshift create-cluster-snapshot

Creates a manual snapshot of the specified cluster. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a cluster snapshot

The following create-cluster-snapshot example creates a new cluster snapshot. By default, the output is in JSON format.

aws redshift create-cluster-snapshot --cluster-identifier mycluster --snapshot-identifier my-snapshot-idIdentify
--cluster-identifierThe cluster identifier for which you want a snapshot.
--snapshot-identifierA unique identifier for the snapshot that you are requesting.
Its output
{
    "Snapshot": {
        "Status": "creating",
        "SnapshotCreateTime": "2013-01-22T22:20:33.548Z",
        "AvailabilityZone": "us-west-2a",
        "ClusterVersion": "1.0",
        "MasterUsername": "adminuser",
        "DBName": "dev",
        "ClusterCreateTime": "2013-01-22T21:59:29.559Z",
        "SnapshotType": "manual",
        "NodeType": "dw.hs1.xlarge",
        "ClusterIdentifier": "mycluster",
        "Port": 5439,
        "NumberOfNodes": 2,
        "SnapshotIdentifier": "my-snapshot-id"
    }
}

For more information, see Creating a manual snapshot in the Amazon Redshift Management Guide.

Options

4 in the AWS CLI reference
--cluster-identifierThe cluster identifier for which you want a snapshot.
--manual-snapshot-retention-periodThe number of days that a manual snapshot is retained.
--snapshot-identifierA unique identifier for the snapshot that you are requesting.
--tagsA list of tag instances.