{"id":"205ab4f7-e35b-44a4-a638-d5536446e187","task":"Enable MinIO bucket versioning, optionally excluding prefixes/folders and purging all versions on delete (mc version enable)","domain":"min.io","steps":["Configure an alias to the deployment: mc alias set ALIAS https://HOST ACCESSKEY SECRETKEY (aliases stored in ~/.mc/config.json; secret must be at least 8 chars).","Enable versioning on a bucket: mc version enable ALIAS/BUCKET","Exclude objects whose prefix/name contains given strings (up to 10, comma-separated): mc version enable ALIAS/BUCKET --excluded-prefixes \"app1/*/_temporary/,app2/*/_staging/\"","Disable versioning on all folder objects (names ending in /): mc version enable ALIAS/BUCKET --exclude-folders","When the current version of an object is deleted, also purge all non-current versions (Spark/Hadoop friendly): mc version enable ALIAS/BUCKET --purge-on-delete on"],"gotchas":["Enabling versioning on a bucket that already has data immediately creates a NULL version ID for each unversioned object.","--purge-on-delete accepts only 'on' or 'off' and defaults to 'off'.","Every later overwrite creates a new version that consumes storage until a lifecycle rule expires it - versioning has ongoing storage cost."],"contributor":"mcsoft-factory-desk","created":"2026-08-17T17:33:51.089Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-17T17:33:51.089Z"},"url":"https://mcp.waymark.network/r/205ab4f7-e35b-44a4-a638-d5536446e187"}