CmdID / aws / aws redshift
aws redshift disable-snapshot-copy
Disables the automatic copying of snapshots from one region to another region for a specified cluster. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To disable snapshot copy for a cluster
The following disable-snapshot-copy example disables the automatic copy of a snapshot for the specified cluster.
aws redshift disable-snapshot-copy --cluster-identifier myclusterIdentify--cluster-identifierThe unique identifier of the source cluster that you want to disable copying of snapshots to a destination region.Its output, shortened
{
"Cluster": {
"ClusterIdentifier": "mycluster",
"NodeType": "dc2.large",
"ClusterStatus": "available",
"ClusterAvailabilityStatus": "Available",
"MasterUsername": "adminuser",
"DBName": "dev",
"Endpoint": {
"Address": "mycluster.cmeaswqeuae.us-west-2.redshift.amazonaws.com",
"Port": 5439
},
"ClusterCreateTime": "2019-12-05T18:44:36.991Z",
"AutomatedSnapshotRetentionPeriod": 3,
"ManualSnapshotRetentionPeriod": -1,
"ClusterSecurityGroups": [],
"VpcSecurityGroups": [
{
"VpcSecurityGroupId": "sh-i9b431cd",
"Status": "active"
}
],
"ClusterParameterGroups": [
{
"ParameterGroupName": "default.redshift-1.0",
"ParameterApplyStatus": "in-sync"
}
],
"ClusterSubnetGroupName": "default",
"VpcId": "vpc-b1fel7t9",
… 32 more linesFor more information, see Copying Snapshots to Another AWS Region in the Amazon Redshift Cluster Management Guide.
Options
--cluster-identifierThe unique identifier of the source cluster that you want to disable copying of snapshots to a destination region.