. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 52.223.31.75 / Your IP : 172.31.32.98 [ Web Server : Apache/2.4.66 () OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux ip-172-31-14-81.eu-central-1.compute.internal 4.14.281-212.502.amzn2.x86_64 #1 SMP Thu May 26 09:52:17 UTC 2022 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE Domains : 4 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/site-packages/awscli/examples/elasticache/ |
Upload File : |
**To create a snapshot**
The following ``create-snapshot`` example creates a snapshot using the Redis engine. ::
aws elasticache create-snapshot \
--snapshot-name mysnashot \
--cache-cluster-id cluster-test
Output::
{
"Snapshot": {
"SnapshotName": "mysnashot",
"CacheClusterId": "cluster-test",
"SnapshotStatus": "creating",
"SnapshotSource": "manual",
"CacheNodeType": "cache.m5.large",
"Engine": "redis",
"EngineVersion": "5.0.5",
"NumCacheNodes": 1,
"PreferredAvailabilityZone": "us-west-2b",
"CacheClusterCreateTime": "2020-03-19T03:12:01.483Z",
"PreferredMaintenanceWindow": "sat:13:00-sat:14:00",
"Port": 6379,
"CacheParameterGroupName": "default.redis5.0",
"CacheSubnetGroupName": "default",
"VpcId": "vpc-a3e97cdb",
"AutoMinorVersionUpgrade": true,
"SnapshotRetentionLimit": 0,
"SnapshotWindow": "06:30-07:30",
"NodeSnapshots": [
{
"CacheNodeId": "0001",
"CacheSize": "",
"CacheNodeCreateTime": "2020-03-19T03:12:01.483Z"
}
]
}
}
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*.