AWS Backup Deletion

0

Hi Team,

Say I plan to take the backup of my resources and keep the retention period to 4 days. I am having cross account backup. So as per my understanding the full backup will be taken on day 1 followed by incremental backups on day 2,3,4. On the fifth day everything will be deleted in source account and also the backup remote account then a fresh full backup will happen.

What if I want to delete the files according to date. Like instead of wiping the whole backup I just want to delete the last 2 days of backup. How to achieve that.

已提問 1 年前檢視次數 279 次
2 個答案
0

If you want to retain the backup for a longer period after creating the backup, you can change the retention period for specific backups. https://docs.aws.amazon.com/aws-backup/latest/devguide/editing-a-backup.html

If your question is to delete the specific files in a backup(recoverypoint). There is no way to delete specific files inside a backup. The only option is to delete the whole backup.

SS
已回答 1 年前
0

Hello,

On the fifth day everything will be deleted in source account and also the backup remote account then a fresh full backup will happen.

This is not entirely accurate. On Day 5, only data specific to the initial backup created on Day 1 will be removed. Incremental data that is referred to (needed by existing backups) will still be retained. Backups created on Day 2,3,4 will be retained and deleted accordingly over the next couple of days.

The below documentation details incremental nature of backups in EBS. But is a good reference to understand how the data is linked for incremental backups in general https://docs.aws.amazon.com/ebs/latest/userguide/ebs-snapshots.html#how_snapshots_work

What if I want to delete the files according to date.

To achieve this use-case, you can delete the corresponding backup (recovery point) which was created on the specific date. Doing so will remove any relevant data that is unique to that given day. Meaning, only data which is not needed by any other existing backups will be deleted https://docs.aws.amazon.com/aws-backup/latest/devguide/about-backup-plans.html https://docs.aws.amazon.com/ebs/latest/userguide/ebs-deleting-snapshot.html#ebs-deleting-snapshot-incremental

AWS
已回答 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南