Skip to main content

Lifecycle rules

Lifecycle rules delete old files after a number of days. Perfect for logs, exports and old backups you do not need to keep for ever.

In the bucket, open Settings > Lifecycle rules and click Add a rule.

Adding a lifecycle rule

  1. Folder: the rule applies to the files of this folder. Leave empty for every file of the bucket.
  2. Delete the files after a number of days (deleted for good).
  3. Click Save the rule.

Rules run once a day, at midnight UTC. A bucket can have up to 10 rules.

Good to know​

  • Without any rule, files stay until you delete them.