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.

질문됨 일 년 전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
답변함 일 년 전
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인