Restrict AWS Backup Selection by S3 Storage class

0

Is it possible to filter an aws backup selection by storage class for s3 resources? I know it's possible to condition selections based on tags but I can't tell if there's a default resource tag on objects which specify the storage class.

  • For a bit more context: I want to backup all current versions within s3 without triggering a backup for versions in glacier. I'm aware that AWS backup is not supported for the flexible glacier storage tier however I believe AWS backup is still attempting to backup glacier objects and subsequently failing. All backup jobs on buckets with versions in glacier complete with status "Completed with issues". I restored a bucket that "Completed with issues" and the only difference was that the versions stored in glacier were missing

Alex
質問済み 2ヶ月前188ビュー
1回答
0

It is possible to filter AWS Backup vault selections by storage class for S3 resources. When creating a backup selection for an S3 bucket, you can specify filters to narrow the scope of what gets backed up.

Some options for filtering by storage class include:

  • Use the Prefix filter to specify a prefix for objects with a particular storage class. For example only back up objects prefixed with standard/
  • Apply tags to objects with different storage classes, and use the Tag filter to select objects with a specific tag.
  • Leverage the S3 inventory feature to identify objects by storage class, then exclude those objects from the backup selection using ExcludeObjectVersions filter.
  • The S3 inventory generates daily CSV files with metadata about objects, including the storage class. You can process these files to get a list of object keys to exclude.
profile picture
エキスパート
回答済み 2ヶ月前
  • Thanks for this answer!

    Can you give an example of filtering based on prefix? All versions of my s3 objects have the same ARN. They do have different object urls but I'm not sure how to add a filter on that to the backup selection.

    I'd rather not have to setup a system for managing tags across storage classes or processing the inventory list on a daily basis

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

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

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

関連するコンテンツ