az backup vault

Online storage entity in Azure used to hold data such as backup copies, recovery points and backup policies.

Commands

az backup vault backup-properties Properties of the Recovery Services vault.
az backup vault backup-properties set Sets backup related properties of the Recovery Services vault.
az backup vault backup-properties show Gets backup related properties of the Recovery Services vault.
az backup vault create Create a new Recovery Services vault.
az backup vault delete Delete an existing Recovery services vault.
az backup vault list List Recovery service vaults within a subscription.
az backup vault show Show details of a particular Recovery service vault.

az backup vault create

Create a new Recovery Services vault.

az backup vault create --location
--name
--resource-group
[--subscription]

Required Parameters

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--name -n

Name of the Recovery services vault.

--resource-group -g

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

Optional Parameters

--subscription

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

az backup vault delete

Delete an existing Recovery services vault.

az backup vault delete [--force]
[--ids]
[--name]
[--resource-group]
[--subscription]
[--yes]

Optional Parameters

--force

Force completion of the requested action.

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--name -n

Name of the Recovery services vault.

--resource-group -g

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

--subscription

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

--yes -y

Do not prompt for confirmation.

az backup vault list

List Recovery service vaults within a subscription.

az backup vault list [--resource-group]
[--subscription]

Optional Parameters

--resource-group -g

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

--subscription

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

az backup vault show

Show details of a particular Recovery service vault.

az backup vault show [--ids]
[--name]
[--resource-group]
[--subscription]

Optional Parameters

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--name -n

Name of the Recovery services vault.

--resource-group -g

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

--subscription

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