mc version enable

Enables versioning for a bucket.

Syntax

CLI
mc version enable TARGET

FLAGS:
  --json      enable JSON lines formatted output
  --debug     enable debug output
  --insecure  disable SSL certificate verification
  --help, -h  show help

Parameters

Parameter Description
TARGET The alias of a configured HPE Ezmeral Object Store on which the command enables versioning. This parameter is mandatory.
json Enables JSON formatted output
debug Enables output for debugging
insecure Disables SSL verification
help Shows this help

Examples

  1. Enable versioning on bucket northamerica in the Object Store deployment with alias salesobject:
    CLI
    /opt/mapr/bin/mc version enable salesobject/northamerica