共用方式為


az mysql flexible-server export

此命令群組處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

管理伺服器上的匯出備份。

命令

名稱 Description 類型 狀態
az mysql flexible-server export create

為具有指定備份名稱的指定伺服器建立匯出備份。

核心 預覽

az mysql flexible-server export create

預覽

命令群組 『mysql 彈性伺服器匯出』 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

為具有指定備份名稱的指定伺服器建立匯出備份。

az mysql flexible-server export create --backup-name
                                       --name
                                       --resource-group
                                       --sas-uri

範例

使用備份名稱 'testbackup' 建立 'testvr' 的匯出備份。

az mysql flexible-server export create -g testgroup -n testsvr -b testbackup -u destsasuri

必要參數

--backup-name -b

新匯出備份的名稱。

--name -n

伺服器的名稱。 名稱只能包含小寫字母、數字及連字號 (-) 字元。 最少 3 個字元,最多 63 個字元。

--resource-group -g

資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。

--sas-uri -u

目的地容器的SAS URI。

全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。