Please note that once a bucket is enabled for versioning, that action cannot be undone - only suspended. Versioning is a global setting within the bucket - meaning all objects are now versioned.
Users with appropriate permissions can suspend versioning to stop accruing object versions. Similar to enabling versioning, this action is performed at the bucket level.
As with all of MinIO, versioning can be applied using the MinIO Console, Client (mc), SDK, or via the command line.
Versioning is the simplest way to protect data from unintended actions. However, it results in larger bucket sizes as objects are versioned and can lead to a higher number of interdependencies between the objects as well as the risk of hidden object dependencies. These factors can be mitigated with Life Cycle Management ↗.
mc rewind
- view bucket or object at any point in time since versioning was enabledmc undo
- rollback PUT/DELETE objects with a single command