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
demandé il y a 2 mois189 vues
1 réponse
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
EXPERT
répondu il y a 2 mois
  • 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

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions