Skip to content

Ask AI

Powered by Blaze

Answers come from E2E Cloud documentation. AI can make mistakes.

Add a lifecycle rule

View as Markdown

A lifecycle rule deletes objects automatically after a number of days, so temporary data clears itself out. The deletes are permanent, so choose the days with care; governance-locked versions stay in place until their retention ends. Lifecycle rules work on buckets TIR created, once they are Ready.

  1. In the list, select the bucket and open its Bucket Lifecycle tab.
  2. Select Configure Lifecycle Rule.
  3. In Apply To, choose All Objects to apply the rule to every object in the dataset. Choose Objects with Prefix to apply it only to objects whose names start with a prefix.
  4. For Objects with Prefix, type the prefix, such as logs/, temp/, or archive/. Each prefix has one rule.
  5. Enter Expiration Days, the number of days before TIR deletes the objects, from 1 to 365.
  6. Save the rule.

A bucket can have several rules, so you can use different prefixes to keep different data for different lengths of time.

To change a saved rule, delete it and add a new one. Open the rule’s Actions menu, select Delete lifecycle policy, and confirm.

The rule is listed under Bucket Lifecycle with its prefix and Expiration Days. You can manage rules only while the bucket is Ready.

TIR now deletes the objects under the rule once they are older than the rule’s Expiration Days. To control the versions of a versioned bucket, see Use object versioning. For help with a message, see Troubleshooting TIR Object Storage.

Was this page helpful?