Share via


az postgres flexible-server fabric-mirroring

Bring your PostgreSQL data into Microsoft Fabric. Mirroring allows you to create a replica of your data in OneLake which can be used for all your analytical needs.

Commands

Name Description Type Status
az postgres flexible-server fabric-mirroring start

Enable bringing your PostgreSQL data into Microsoft Fabric.

Core GA
az postgres flexible-server fabric-mirroring stop

Stop bringing your PostgreSQL data into Microsoft Fabric.

Core GA
az postgres flexible-server fabric-mirroring update-databases

Update allowed mirrored databases.

Core GA

az postgres flexible-server fabric-mirroring start

Enable bringing your PostgreSQL data into Microsoft Fabric.

az postgres flexible-server fabric-mirroring start --database-names
                                                   --resource-group
                                                   --server-name
                                                   [--yes]

Examples

Enable bringing your PostgreSQL data into Microsoft Fabric.

az postgres flexible-server fabric-mirroring start -g testgroup -s testsvr --database-names testdb

Required Parameters

--database-names -d

Space-separated list of the database names to be mirrored. Required if --mirroring is enabled.

--resource-group -g

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

--server-name -s

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

Optional Parameters

--yes -y

Do not prompt for confirmation.

Default value: False
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.

az postgres flexible-server fabric-mirroring stop

Stop bringing your PostgreSQL data into Microsoft Fabric.

az postgres flexible-server fabric-mirroring stop --resource-group
                                                  --server-name
                                                  [--yes]

Examples

Stop bringing your PostgreSQL data into Microsoft Fabric.

az postgres flexible-server fabric-mirroring stop -g testgroup -s testsvr

Required Parameters

--resource-group -g

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

--server-name -s

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

Optional Parameters

--yes -y

Do not prompt for confirmation.

Default value: False
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.

az postgres flexible-server fabric-mirroring update-databases

Update allowed mirrored databases.

az postgres flexible-server fabric-mirroring update-databases --database-names
                                                              --resource-group
                                                              --server-name
                                                              [--yes]

Examples

Update allowed mirrored databases.

az postgres flexible-server fabric-mirroring update-databases -g testgroup -s testsvr --database-names testdb2 testdb3

Required Parameters

--database-names -d

Space-separated list of the database names to be mirrored. Required if --mirroring is enabled.

--resource-group -g

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

--server-name -s

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

Optional Parameters

--yes -y

Do not prompt for confirmation.

Default value: False
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.