HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
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*.