文件

mc support upload

描述

mc support upload 從本機檔案系統複製檔案到 SUBNET 工單。

需要註冊 SUBNET

mc support 命令專為註冊 MinIO SUBNET 的 MinIO 部署而設計,以確保診斷和效能測試的最佳結果。未註冊 SUBNET 的部署無法使用 mc support 命令。

語法

mc support profile 命令具有以下語法

mc [GLOBALFLAGS] support profile     \
                         ALIAS       \
                         FILE        \
                         [--comment] \
                         [--issue]

參數

ALIAS
必要

MinIO 部署的別名

FILE
必要

要上傳到 SUBNET 的檔案路徑。

--comment
選用

在上傳檔案時,包含給問題的訊息。

--issue
選用

指定要將檔案新增至的問題編號。如果未指定,則檔案會上傳到通用問題編號 0

全域旗標

此命令支援任何全域旗標

範例

上傳檔案到問題

此命令會將本機檔案系統中的檔案 ./trace.log 上傳到別名為 minio1 的部署的 SUBNET 問題編號 10001。

mc support upload --issue 10001 minio1 ./trace.log

上傳檔案到帶有給 MinIO 工程師的註解的問題

此命令會將本機檔案系統中的檔案 ./trace.log 上傳到別名為 minio1 的部署的 SUBNET 問題編號 10001。此命令還包含一則關於該檔案的註解,供 MinIO 工程師查閱。

mc support upload --issue 10001 --comment "here is the requested trace log" minio1 ./trace.log