Menu
Amazon ElastiCache
User Guide (API Version 2015-02-02)

Deleting a Backup

An automatic backup is automatically deleted when its retention limit expires. If you delete a cluster, all of its automatic backups are also deleted. If you delete a replication group, all of the automatic backups from the clusters in that group are also deleted.

ElastiCache provides a deletion API that lets you delete a backup at any time, regardless of whether the backup was created automatically or manually. (Since manual backups do not have a retention limit, manual deletion is the only way to remove them.)

You can delete a backup using the ElastiCache console, the AWS CLI, or the ElastiCache API.

Deleting a Backup (Console)

The following procedure deletes a backup using the ElastiCache console.

To delete a backup

  1. Sign in to the AWS Management Console and open the ElastiCache console at https://console.aws.amazon.com/elasticache/.

  2. In the left navigation pane, choose Backups.

    The Backups screen appears with a list of your backups.

  3. Choose the box to the left of the name of the backup you want to delete.

  4. Choose Delete.

    The Delete Backup confirmation screen appears.

  5. If you want to delete this backup, choose Delete. The status changes to deleting.

    If you want to keep this backup, choose Cancel.

Deleting a Backup (AWS CLI)

Use the delete-snapshot AWS CLI operation with the following parameter to delete a backup .

  • --snapshot-name – Name of the backup to be deleted.

The following code deletes the backup myBackup.

Copy
aws elasticache delete-snapshot --snapshot-name myBackup

For more information, see delete-snapshot in the AWS Command Line Interface Reference.

Deleting a Backup (ElastiCache API)

Use the DeleteSnapshot API operation with the following parameter to delete a backup.

  • SnapshotName – Name of the backup to be deleted.

The following code deletes the backup myBackup.

Copy
https://elasticache.us-west-2.amazonaws.com/ ?Action=DeleteSnapshot &SignatureVersion=4 &SignatureMethod=HmacSHA256 &SnapshotId=myBackup &Timestamp=20150202T192317Z &Version=2015-02-02 &X-Amz-Credential=<credential>

For more information, see DeleteSnapshot in the Amazon ElastiCache API Reference.