az sql midb-arc

Commands

Command Description
az sql midb-arc restore Restore a database to an Azure Arc enabled SQL managed instance.

az sql midb-arc restore

Restore a database to an Azure Arc enabled SQL managed instance.

az sql midb-arc restore 

Examples

Ex 1 - Restore a database using Point in time restore.

az sql midb-arc restore --managed-instance sqlmi1 --name mysourcedb
 --dest-name mynewdb --time "2021-10-20T05:34:22Z" --k8s-namespace
 arc --use-k8s --dry-run

Global Arguments

--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--output -o

Output format. Allowed values: json, jsonc, table, tsv. Default: json.

--query -q

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

--verbose

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