mc admin recovery start

Starts the bucket recovery.

Syntax

CLI
mc admin recovery start - start bucket recovery

USAGE:
  mc admin recovery start TYPE TARGET

TYPE
  type accepts value as either "full" or "mini"

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

Parameters

Parameter Description
TYPE Either start a full recovery or a mini recovery.

In a mini recovery, the system scans for buckets to recover every hour. The system picks up buckets that were created or modified in the last hour and examines them for any recovery to perform. The recovery deletes dangling delete markers.

In a full recovery, the system scans ALL buckets every week and examines them for any recovery to perform. Similar to the mini recovery, the system deletes all incomplete multipart uploads and dangling delete markers.

TARGET The alias of a configured HPE Ezmeral Object Store on which bucket to recover exists. This parameter is mandatory.
json Enables JSON formatted output.
debug Enables output for debugging.
insecure Disables SSL verification.
help Shows this help.

Example

  1. Start full recovery for a bucket named northamerica in the Object Store deployment with alias salesobject.
    CLI
    /opt/mapr/bin/mc admin recovery start full salesobject/northamerica 
  2. Start mini recovery for a bucket named northamerica in the Object Store deployment with alias salesobject.
    CLI
    /opt/mapr/bin/mc admin recovery start mini salesobject/northamerica