mc support upload
Description
mc support upload copies a file from the local file system to a SUBNET ticket.
SUBNET Registration Required
The mc support commands are designed for MinIO deployments registered with MinIO SUBNET to ensure optimal outcome of diagnostics and performance testing. Deployments not registered with SUBNET cannot use the mc support commands.
Syntax
The mc support profile command has the following syntax:
mc [GLOBALFLAGS] support profile \
ALIAS \
FILE \
[--comment "string"] \
[--enc] \
[--issue integer]
Parameters
ALIAS
mc-cmd
Required
The alias of the MinIO deployment.
FILE
mc-cmd
Required
The path to the file to upload to SUBNET.
--comment
mc-cmd
Optional
Include a message to the issue when uploading the file.
--enc
mc-cmd
Optional
Encrypt contents of the upload. The key used for the encryption is only accessible to MinIO.
--issue
mc-cmd
Optional
Specify the issue number to which to add the file. If not specified, the file uploads to the generic issue number 0.
Global Flags
This command supports any of the global flags.
Examples
Upload a file to an issue
This command uploads the file ./trace.log from the local file system to the SUBNET issue number 10001 for the deployment with alias minio1.
mc support upload --issue 10001 minio1 ./trace.log
Upload a file to an issue with a comment for MinIO Engineers
This command uploads the file ./trace.log from the local file system to the SUBNET issue number 10001 for the deployment with alias minio1. The command also includes a comment available to MinIO Engineers about the file.
mc support upload --issue 10001 --comment "here is the requested trace log" minio1 ./trace.log
Portions of this page are adapted from the MinIO Object Storage Documentation, © 2020–Present MinIO, Inc., licensed under CC BY 4.0, converted and maintained by the Silo project. Attribution