az backup vault
Online storage entity in Azure used to hold data such as backup copies, recovery points and backup policies.
Commands
Name | Description | Type | Status |
---|---|---|---|
az backup vault backup-properties |
Properties of the Recovery Services vault. |
Core | GA |
az backup vault backup-properties set |
Sets backup related properties of the Recovery Services vault. |
Core | GA |
az backup vault backup-properties show |
Gets backup related properties of the Recovery Services vault. |
Core | GA |
az backup vault create |
Create a new Recovery Services vault or update an existing one. |
Core | GA |
az backup vault delete |
Delete an existing Recovery services vault. |
Core | GA |
az backup vault encryption |
Encryption details of a Recovery Services Vault. |
Core | GA |
az backup vault encryption show |
Show details of encryption properties of a Recovery Services Vault. |
Core | GA |
az backup vault encryption update |
Update encryption properties of a Recovery Services Vault. |
Core | GA |
az backup vault identity |
Identity details of a Recovery Services Vault. |
Core | GA |
az backup vault identity assign |
Assign Identities to Recovery Services vault. |
Core | GA |
az backup vault identity remove |
Remove Identities of Recovery Services vault. |
Core | GA |
az backup vault identity show |
Show Identities of Recovery Services vault. |
Core | GA |
az backup vault list |
List Recovery service vaults within a subscription. |
Core | GA |
az backup vault list-soft-deleted-containers |
List soft-deleted containers within a particular Recovery Services vault. |
Core | GA |
az backup vault resource-guard-mapping |
Resource Guard Mapping details of the Recovery Services vault. |
Core | GA |
az backup vault resource-guard-mapping delete |
Delete resource guard mapping of the Recovery Services vault. |
Core | GA |
az backup vault resource-guard-mapping show |
Get resource guard mapping of the Recovery Services vault. |
Core | GA |
az backup vault resource-guard-mapping update |
Create/Update resource guard mapping of the Recovery Services vault. |
Core | GA |
az backup vault show |
Show details of a particular Recovery service vault. |
Core | GA |
az backup vault update |
Update an existing Recovery Services vault. |
Core | GA |
az backup vault create
Create a new Recovery Services vault or update an existing one.
az backup vault create --location
--name
--resource-group
[--classic-alerts {Disable, Enable}]
[--cross-subscription-restore-state {Disable, Enable, PermanentlyDisable}]
[--immutability-state {Disabled, Locked, Unlocked}]
[--job-failure-alerts {Disable, Enable}]
[--public-network-access {Disable, Enable}]
[--tags]
Examples
Create a new Recovery Services vault or update an existing one. (autogenerated)
az backup vault create --location westus2 --name MyRecoveryServicesVault --resource-group MyResourceGroup
Required Parameters
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Name of the Recovery services vault.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Use this property to specify whether backup alerts from the classic solution should be received.
Property | Value |
---|---|
Accepted values: | Disable, Enable |
Use this parameter to configure cross subscription restore settings for the vault. By default, the property is "Enabled" for the vault.
Property | Value |
---|---|
Accepted values: | Disable, Enable, PermanentlyDisable |
Use this parameter to configure immutability settings for the vault. By default, immutability is "Disabled" for the vault. "Unlocked" means that immutability is enabled for the vault and can be reversed. "Locked" means that immutability is enabled for the vault and cannot be reversed.
Property | Value |
---|---|
Accepted values: | Disabled, Locked, Unlocked |
Use this property to specify whether built-in Azure Monitor alerts should be received for every job failure.
Property | Value |
---|---|
Accepted values: | Disable, Enable |
Use this property to specify whether public network access for the vault should be enabled or disabled. It is enabled by default. For setting up private endpoints, it has to be disabled.
Property | Value |
---|---|
Accepted values: | Disable, Enable |
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az backup vault delete
Delete an existing Recovery services vault.
az backup vault delete [--force]
[--ids]
[--name]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete an existing Recovery services vault. (autogenerated)
az backup vault delete --name MyRecoveryServicesVault --resource-group MyResourceGroup --yes
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Force completion of the requested action.
Property | Value |
---|---|
Default value: | False |
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of the Recovery services vault.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az backup vault list
List Recovery service vaults within a subscription.
az backup vault list [--resource-group]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az backup vault list-soft-deleted-containers
List soft-deleted containers within a particular Recovery Services vault.
az backup vault list-soft-deleted-containers --backup-management-type {AzureIaasVM, AzureStorage, AzureWorkload}
[--ids]
[--name]
[--resource-group]
[--subscription]
Examples
List soft deleted containers
az backup vault list-soft-deleted-containers --name MyRecoveryServicesVault --resource-group MyResourceGroup --backup-management-type AzureIaasVM
Required Parameters
Specify the backup management type. Define how Azure Backup manages the backup of entities within the ARM resource. For eg: AzureWorkloads refers to workloads installed within Azure VMs, AzureStorage refers to entities within Storage account. Required only if friendly name is used as Container name.
Property | Value |
---|---|
Accepted values: | AzureIaasVM, AzureStorage, AzureWorkload |
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of the Recovery services vault.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az backup vault show
Show details of a particular Recovery service vault.
az backup vault show [--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Show details of a particular Recovery service vault. (autogenerated)
az backup vault show --name MyRecoveryServicesVault --resource-group MyResourceGroup
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of the Recovery services vault.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az backup vault update
Update an existing Recovery Services vault.
az backup vault update [--backup-storage-redundancy {GeoRedundant, LocallyRedundant, ZoneRedundant}]
[--classic-alerts {Disable, Enable}]
[--cross-region-restore-flag {Disabled, Enabled}]
[--cross-subscription-restore-state {Disable, Enable, PermanentlyDisable}]
[--ids]
[--immutability-state {Disabled, Locked, Unlocked}]
[--job-failure-alerts {Disable, Enable}]
[--name]
[--public-network-access {Disable, Enable}]
[--resource-group]
[--subscription]
[--tags]
[--tenant-id]
Examples
Update immutability settings of a Recovery Services vault.
az backup vault update --name MyRecoveryServicesVault --resource-group MyResourceGroup --immutability-state Unlocked
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Set backup storage properties for a Recovery Services vault.
Property | Value |
---|---|
Accepted values: | GeoRedundant, LocallyRedundant, ZoneRedundant |
Use this property to specify whether backup alerts from the classic solution should be received.
Property | Value |
---|---|
Accepted values: | Disable, Enable |
Set cross-region-restore feature state for a Recovery Services Vault. Default: False.
Property | Value |
---|---|
Accepted values: | Disabled, Enabled |
Use this parameter to configure cross subscription restore settings for the vault. By default, the property is "Enabled" for the vault.
Property | Value |
---|---|
Accepted values: | Disable, Enable, PermanentlyDisable |
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Use this parameter to configure immutability settings for the vault. By default, immutability is "Disabled" for the vault. "Unlocked" means that immutability is enabled for the vault and can be reversed. "Locked" means that immutability is enabled for the vault and cannot be reversed.
Property | Value |
---|---|
Accepted values: | Disabled, Locked, Unlocked |
Use this property to specify whether built-in Azure Monitor alerts should be received for every job failure.
Property | Value |
---|---|
Accepted values: | Disable, Enable |
Name of the Recovery services vault.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Use this property to specify whether public network access for the vault should be enabled or disabled. It is enabled by default. For setting up private endpoints, it has to be disabled.
Property | Value |
---|---|
Accepted values: | Disable, Enable |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
ID of the tenant if the Resource Guard protecting the vault exists in a different tenant.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |