1
0
mirror of https://github.com/minio/docs.git synced 2025-10-28 07:54:51 +03:00
Files
docs/source/reference/minio-mc/mc-support-upload.rst
Daryl White da87d38137 Updates for mc RELEASE.2025-02-04T04-57-50Z (#1427)
- Adds info for using absolute time on some mc find flags
- Adds --enc flag to mc support upload
- Fixes for thresholds page

Closes #1412
2025-02-21 12:15:41 -05:00

101 lines
2.4 KiB
ReStructuredText

======================
``mc support upload``
======================
.. default-domain:: minio
.. contents:: Table of Contents
:local:
:depth: 1
.. mc:: mc support upload
Description
-----------
.. start-mc-support-upload-desc
:mc:`mc support upload` copies a file from the local file system to a SUBNET ticket.
.. end-mc-support-upload-desc
.. include:: /includes/common-mc-support.rst
:start-after: start-minio-only
:end-before: end-minio-only
Syntax
------
The :mc:`mc support profile` command has the following syntax:
.. code-block:: shell
mc [GLOBALFLAGS] support profile \
ALIAS \
FILE \
[--comment "string"] \
[--enc] \
[--issue integer]
Parameters
~~~~~~~~~~
.. mc-cmd:: ALIAS
:required:
The :ref:`alias <alias>` of the MinIO deployment.
.. mc-cmd:: FILE
:required:
The path to the file to upload to SUBNET.
.. mc-cmd:: --comment
:optional:
Include a message to the issue when uploading the file.
.. mc-cmd:: --enc
:optional:
Encrypt contents of the upload.
The key used for the encryption is only accessible to MinIO.
.. mc-cmd:: --issue
: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
~~~~~~~~~~~~
.. include:: /includes/common-minio-mc.rst
:start-after: start-minio-mc-globals
:end-before: end-minio-mc-globals
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``.
.. code-block:: shell
:class: copyable
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.
.. code-block:: shell
:class: copyable
mc support upload --issue 10001 --comment "here is the requested trace log" minio1 ./trace.log