mirror of
https://github.com/minio/docs.git
synced 2025-08-05 03:41:24 +03:00
Addresses potential confusion about required/optional and the several mutually exclusive options. Staged: http://192.241.195.202:9000/staging/DOCS-918/linux/html/reference/minio-mc/mc-version.html http://192.241.195.202:9000/staging/DOCS-918/linux/html/reference/minio-mc/mc-version-enable.html http://192.241.195.202:9000/staging/DOCS-918/linux/html/reference/minio-mc/mc-version-info.html http://192.241.195.202:9000/staging/DOCS-918/linux/html/reference/minio-mc/mc-version-suspend.html Fixes https://github.com/minio/docs/issues/918 --------- Co-authored-by: Ravind Kumar <ravind@min.io>
2.2 KiB
2.2 KiB
mc version suspend
minio
Table of Contents
mc version suspend
Syntax
The mc version suspend
command disables versioning on the
specified bucket.
EXAMPLE
The following command disables versioning for the
mybucket
bucket on the myminio
MinIO
deployment:
mc version suspend myminio/mybucket
SYNTAX
The command has the following syntax:
mc [GLOBALFLAGS] version suspend ALIAS
Parameters
ALIAS
The full path to the bucket on which to disable versioning. For example:
mc version suspend myminio/mybucket
Global Flags
Example
Disable Bucket Versioning
Use mc version suspend
to disable versioning for a
bucket:
mc version suspend ALIAS/PATH
- Replace
ALIAS <mc version suspend ALIAS>
with thealias <mc alias>
of a configured MinIO deployment. - Replace
PATH <mc version suspend ALIAS>
with 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 <mc rm --versions>
to delete an object and all its versions.