Share via


az managed-cassandra cluster backup

Note

This reference is part of the cosmosdb-preview extension for the Azure CLI (version 2.17.1 or higher). The extension will automatically install the first time you run an az managed-cassandra cluster backup command. Learn more about extensions.

Azure Managed Cassandra cluster Backup.

Commands

Name Description Type Status
az managed-cassandra cluster backup list

List the backups of this cluster that are available to restore.

Extension Preview
az managed-cassandra cluster backup show

Get a managed cassandra backup resource of this cluster.

Extension Preview

az managed-cassandra cluster backup list

Preview

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

List the backups of this cluster that are available to restore.

az managed-cassandra cluster backup list --cluster-name
                                         --resource-group

Examples

This command lists the backups of this cluster that are available to restore.

az managed-cassandra cluster backup list --resource-group MyResourceGroup --cluster-name MyCluster

Required Parameters

--cluster-name -c

Cluster Name.

--resource-group -g

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

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 managed-cassandra cluster backup show

Preview

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

Get a managed cassandra backup resource of this cluster.

az managed-cassandra cluster backup show --backup-id
                                         --cluster-name
                                         --resource-group

Examples

Gets a managed cassandra backup resource.

az managed-cassandra cluster backup show --resource-group MyResourceGroup --cluster-name MyCluster --backup-id BackUpId

Required Parameters

--backup-id

The resource id of the backup.

--cluster-name -c

Cluster Name.

--resource-group -g

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

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.