mc version suspend
The mc version suspend command disables versioning on the specified bucket.
Syntax
Parameters
ALIAS
The full path to the bucket on which to disable versioning. For example:
mc version suspend myaistor/mybucket
Global flags
This command supports any of the global flags.
Example
Disable bucket versioning
Use mc version suspend to disable versioning for a bucket:
mc version suspend ALIAS/PATH
- Replace
ALIASwith thealiasof a configured AIStor deployment. - Replace
PATHwith the bucket on which to disable versioning.
Behavior
Bucket versioning with existing data
Disabling bucket versioning on a bucket with existing versioned data does not remove any versioned objects.
Applications can continue to access versioned data after disabling bucket versioning.
Use mc rm --versions ALIAS/BUCKET/OBJECT to delete an object and all its versions.
S3 compatibility
The mc commandline tool is built for compatibility with the AWS S3 API and is tested with AIStor and AWS S3 for expected functionality and behavior.
MinIO provides no guarantees for other S3-compatible services, as their S3 API implementation is unknown and therefore unsupported.
While mc commands may work as documented, any such usage is at your own risk.