1
0
mirror of https://github.com/minio/docs.git synced 2025-08-05 03:41:24 +03:00
Files
docs/source/reference/minio-mc/mc-version-suspend.rst

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 the alias <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.

S3 Compatibility