mirror of
https://github.com/minio/minio.git
synced 2024-12-25 22:55:54 -05:00
3da9ee15d3
This unit allows users to limit the maximum number of noncurrent versions of an object. To enable this rule you need the following *ilm.json* ``` cat >> ilm.json <<EOF { "Rules": [ { "ID": "test-max-noncurrent", "Status": "Enabled", "Filter": { "Prefix": "user-uploads/" }, "NoncurrentVersionExpiration": { "MaxNoncurrentVersions": 5 } } ] } EOF mc ilm import myminio/mybucket < ilm.json ``` |
||
---|---|---|
.. | ||
bandwidth | ||
encryption | ||
lifecycle | ||
object/lock | ||
replication | ||
versioning |