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/elasticache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/elasticache/delete-snapshot.rst
**To delete a snapshot**

The following ``delete-snapshot`` example deleted a snapshot using the Redis engine. ::

    aws elasticache delete-snapshot \
        --snapshot-name mysnapshot

Output::

    {
        "Snapshot": {
            "SnapshotName": "my-cluster-snapshot",
            "ReplicationGroupId": "mycluster",
            "ReplicationGroupDescription": "mycluster",
            "SnapshotStatus": "deleting",
            "SnapshotSource": "manual",
            "CacheNodeType": "cache.r5.xlarge",
            "Engine": "redis",
            "EngineVersion": "5.0.5",
            "PreferredMaintenanceWindow": "thu:12:00-thu:13:00",
            "TopicArn": "arn:aws:sns:us-west-2:xxxxxxxxxxxxx152:My_Topic",
            "Port": 6379,
            "CacheParameterGroupName": "default.redis5.0.cluster.on",
            "CacheSubnetGroupName": "default",
            "VpcId": "vpc-a3e97cdb",
            "AutoMinorVersionUpgrade": true,
            "SnapshotRetentionLimit": 1,
            "SnapshotWindow": "13:00-14:00",
            "NumNodeGroups": 4,
            "AutomaticFailover": "enabled",
            "NodeSnapshots": [
                {
                    "CacheClusterId": "mycluster-0002-003",
                    "NodeGroupId": "0002",
                    "CacheNodeId": "0001",
                    "CacheSize": "6 MB",
                    "CacheNodeCreateTime": "2020-06-18T00:05:44.719000+00:00",
                    "SnapshotCreateTime": "2020-06-25T20:34:30+00:00"
                },
                {
                    "CacheClusterId": "mycluster-0003-003",
                    "NodeGroupId": "0003",
                    "CacheNodeId": "0001",
                    "CacheSize": "6 MB",
                    "CacheNodeCreateTime": "2019-12-05T19:13:15.912000+00:00",
                    "SnapshotCreateTime": "2020-06-25T20:34:30+00:00"
                },
                {
                    "CacheClusterId": "mycluster-0004-002",
                    "NodeGroupId": "0004",
                    "CacheNodeId": "0001",
                    "CacheSize": "6 MB",
                    "CacheNodeCreateTime": "2019-12-09T19:44:34.324000+00:00",
                    "SnapshotCreateTime": "2020-06-25T20:34:30+00:00"
                },
                {
                    "CacheClusterId": "mycluster-0005-003",
                    "NodeGroupId": "0005",
                    "CacheNodeId": "0001",
                    "CacheSize": "6 MB",
                    "CacheNodeCreateTime": "2020-06-18T00:05:44.775000+00:00",
                    "SnapshotCreateTime": "2020-06-25T20:34:30+00:00"
                }
            ]
        }
    }

For more information, see `Backup and Restore for ElastiCache for Redis <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups.html>`__ in the *Elasticache User Guide*.

https://t.me/RX1948 - 2025