Backups can be configured for ElastiCache running Redis and includes the metadata as well as the cluster data. Backups are stored in S3 and can be used to create a new cluster or restore an existing one. For more information on backups for ElastiCache running Redis, see the AWS documentation.
References:
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups.html
In AWS Console -
In Terraform -
References:
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups.html
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_cluster#snapshot_retention_limit