แชร์ผ่าน


az mysql flexible-server export

This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage export backup on a server.

Commands

Name Description Type Status
az mysql flexible-server export create

Create an export backup for a given server with specified backup name.

Core Preview

az mysql flexible-server export create

Preview

Command group 'mysql flexible-server export' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Create an export backup for a given server with specified backup name.

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

Examples

Create a export backup for 'testsvr' with backup name 'testbackup'.

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

Required Parameters

--backup-name -b

The name of the new export backup.

--name -n

Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--sas-uri -u

SAS URI for destination container.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.