Changes to the docs related to mc [RELEASE.2022-11-07T23-47-39Z](https://github.com/minio/mc/releases/tag/RELEASE.2022-11-07T23-47-39Z) - Replaces `mc replicate edit` with `mc replicate update` - Adds `mc admin idp oidc | ldap` commands - Update to `mc support inspect` format - Adds `mc admin rebalance` command - Updates mc replicate edit references throughout docs to point to mc replicate update. - Adds a rebalance pools section to the expand deployment doc. - Clarifies precedence for environment variables vs config settings. Closes #636 Closes #632
2.8 KiB
mc support inspect
minio
Table of Contents
mc support inspect
Description
The mc support inspect
command collects the data and
metadata associated to objects at the specified path. MinIO assembles
this data from each backend drive storing an erasure shard <minio-erasure-coding>
for each
specified object.
The command produces an encrypted zip file that includes all matching files with their respective host+drive+path.
The resulting report is intended for use by MinIO Engineering via |SUBNET| and may contain internal or private data points associated to the object. Exercise caution before sending a report to a third party or posting the report in a public forum.
Important
mc support inspect
requires a MinIO deployment server from October 2021 or later.
Wildcards
The command suports wildcard *
pattern matching for
prefixes or objects.
mc support inspect ALIAS/bucket/path/**/xl.meta
This command collects all xl.meta
associated to objects
at ALIAS/bucket/path/
.
Examples
Download Metadata for an Object
You can download the metadata for an object. Metadata stores in an
xl.meta
binary file.
The following command downloads the xl.meta
from
mybucket/myobject
on the minio1
deployment.
The file downloads from all drives as a zip archive file.
mc support inspect minio1/mybucket/myobject/xl.meta
The contents of the xl.meta
file are not human readable.
You can convert the contents of an xl.meta
file to JSON
format.
Download All Objects at a Prefix Recursively
The following command downloads all objects recursively found at a prefix.
Caution
This can be an expensive operation. Proceed with caution.
mc support inspect minio1/mybucket/myobject/**
Syntax
The command has the following syntax:
mc [GLOBALFLAGS] support inspect \
[--legacy] \
ALIAS
Parameters
--legacy
Use the older method of exporting inspection data, which does not encrypt data by default.
ALIAS
The alias <alias>
of the MinIO deployment.