https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/redshift/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/redshift/modify-cluster-snapshot.rst
**To modify cluster snapshot**

The following ``modify-cluster-snapshot`` example sets the manual retention period setting for the specified cluster snapshot to value of 10 days. ::

    aws redshift modify-cluster-snapshot \
        --snapshot-identifier mycluster-2019-11-06-16-32 \
        --manual-snapshot-retention-period 10

Output::

    {
        "Snapshot": {
            "SnapshotIdentifier": "mycluster-2019-11-06-16-32",
            "ClusterIdentifier": "mycluster",
            "SnapshotCreateTime": "2019-12-07T00:34:05.633Z",
            "Status": "available",
            "Port": 5439,
            "AvailabilityZone": "us-west-2f",
            "ClusterCreateTime": "2019-12-05T18:44:36.991Z",
            "MasterUsername": "adminuser",
            "ClusterVersion": "1.0",
            "SnapshotType": "manual",
            "NodeType": "dc2.large",
            "NumberOfNodes": 2,
            "DBName": "dev",
            "VpcId": "vpc-b1cel7t9",
            "Encrypted": false,
            "EncryptedWithHSM": false,
            "OwnerAccount": "123456789012",
            "TotalBackupSizeInMegaBytes": 64384.0,
            "ActualIncrementalBackupSizeInMegaBytes": 24.0,
            "BackupProgressInMegaBytes": 24.0,
            "CurrentBackupRateInMegaBytesPerSecond": 13.0011,
            "EstimatedSecondsToCompletion": 0,
            "ElapsedTimeInSeconds": 1,
            "Tags": [
                {
                    "Key": "mytagkey",
                    "Value": "mytagvalue"
                }
            ],
            "EnhancedVpcRouting": false,
            "MaintenanceTrackName": "current",
            "ManualSnapshotRetentionPeriod": 10,
            "ManualSnapshotRemainingDays": 6,
            "SnapshotRetentionStartTime": "2019-12-07T00:34:07.479Z"
        }
    }

For more information, see `Amazon Redshift Snapshots <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html>`__ in the *Amazon Redshift Cluster Management Guide*.

https://t.me/RX1948 - 2025