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
Use this property to specify whether backup alerts from the classic solution should be received.
Use this parameter to configure cross subscription restore settings for the vault. By default, the property is "Enabled" for the vault.
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.
Use this property to specify whether built-in Azure Monitor alerts should be received for every job failure.
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.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
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
Force completion of the requested action.
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.
Name of the Recovery services vault.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az backup vault list
List Recovery service vaults within a subscription.
az backup vault list [--resource-group]
Optional Parameters
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.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
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.
Optional Parameters
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.
Name of the Recovery services vault.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
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
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.
Name of the Recovery services vault.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
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
Set backup storage properties for a Recovery Services vault.
Use this property to specify whether backup alerts from the classic solution should be received.
Set cross-region-restore feature state for a Recovery Services Vault. Default: False.
Use this parameter to configure cross subscription restore settings for the vault. By default, the property is "Enabled" for the vault.
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.
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.
Use this property to specify whether built-in Azure Monitor alerts should be received for every job failure.
Name of the Recovery services vault.
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.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
Azure CLI