CmdID

CmdID / aws / aws redshift

aws redshift copy-cluster-snapshot

Copies the specified automated cluster snapshot to a new manual cluster snapshot. 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 copy a cluster snapshot

The following copy-cluster-snapshot example creates a copy of the automated snapshot cm:examplecluster-2013-01-22-19-27-58 named my-saved-snapshot-copy. By default, the output is in JSON format.

aws redshift copy-cluster-snapshot --source-snapshot-identifier cm:examplecluster-2013-01-22-19-27-58 --target-snapshot-identifier my-saved-snapshot-copyIdentify
--source-snapshot-identifierThe identifier for the source snapshot.
--target-snapshot-identifierThe identifier given to the new manual snapshot.
Its output
{
    "Snapshot": {
        "Status": "available",
        "SnapshotCreateTime": "2013-01-22T19:27:58.931Z",
        "AvailabilityZone": "us-west-2c",
        "ClusterVersion": "1.0",
        "MasterUsername": "adminuser",
        "DBName": "dev",
        "ClusterCreateTime": "2013-01-22T19:23:59.368Z",
        "SnapshotType": "manual",
        "NodeType": "dw.hs1.xlarge",
        "ClusterIdentifier": "examplecluster",
        "Port": 5439,
        "NumberOfNodes": 2,
        "SnapshotIdentifier": "my-saved-snapshot-copy"
    }
}

For more information, see Copying an automated snapshot in the Amazon Redshift Management Guide.

Options

4 in the AWS CLI reference
--manual-snapshot-retention-periodThe number of days that a manual snapshot is retained.
--source-snapshot-cluster-identifierThe identifier of the cluster the source snapshot was created from.
--source-snapshot-identifierThe identifier for the source snapshot.
--target-snapshot-identifierThe identifier given to the new manual snapshot.