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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ