az backup job
Entity which contains details of the job.
Commands
Name | Description | Type | Status |
---|---|---|---|
az backup job list |
List all backup jobs of a Recovery Services vault. |
Core | GA |
az backup job show |
Show details of a particular job. |
Core | GA |
az backup job stop |
Suspend or terminate a currently running job. |
Core | GA |
az backup job wait |
Wait until either the job completes or the specified timeout value is reached. |
Core | GA |
az backup job list
List all backup jobs of a Recovery Services vault.
az backup job list --resource-group
--vault-name
[--backup-management-type {AzureIaasVM, AzureStorage, AzureWorkload, MAB}]
[--end-date]
[--operation {Backup, ConfigureBackup, DeleteBackupData, DisableBackup, Restore}]
[--start-date]
[--status {Cancelled, Completed, CompletedWithWarnings, Failed, InProgress}]
[--use-secondary-region]
Examples
List all backup jobs of a Recovery Services vault
az backup job list --resource-group MyResourceGroup --vault-name MyVault
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Recovery services vault.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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, MAB |
The end date of the range in UTC (d-m-Y).
User initiated operation.
Property | Value |
---|---|
Accepted values: | Backup, ConfigureBackup, DeleteBackupData, DisableBackup, Restore |
The start date of the range in UTC (d-m-Y).
Status of the Job.
Property | Value |
---|---|
Accepted values: | Cancelled, Completed, CompletedWithWarnings, Failed, InProgress |
Use this flag to show recoverypoints in secondary region.
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 job show
Show details of a particular job.
az backup job show [--ids]
[--name]
[--resource-group]
[--subscription]
[--use-secondary-region]
[--vault-name]
Examples
Show details of a particular job. (autogenerated)
az backup job show --name MyJob --resource-group MyResourceGroup --vault-name MyVault
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 job. You can use the backup job list command to get the name of a job.
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 |
Use this flag to show recoverypoints in secondary region.
Name of the Recovery services vault.
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 job stop
Suspend or terminate a currently running job.
az backup job stop [--ids]
[--name]
[--resource-group]
[--subscription]
[--use-secondary-region]
[--vault-name]
Examples
Suspend or terminate a currently running job. (autogenerated)
az backup job stop --name MyJob --resource-group MyResourceGroup --vault-name MyVault
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 job. You can use the backup job list command to get the name of a job.
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 |
Use this flag to show recoverypoints in secondary region.
Name of the Recovery services vault.
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 job wait
Wait until either the job completes or the specified timeout value is reached.
az backup job wait [--ids]
[--name]
[--resource-group]
[--subscription]
[--timeout]
[--use-secondary-region]
[--vault-name]
Examples
Wait until either the job completes or the specified timeout value is reached
az backup job wait --name MyJob --resource-group MyResourceGroup --vault-name MyVault
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 job. You can use the backup job list command to get the name of a job.
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 |
Maximum time, in seconds, to wait before aborting.
Use this flag to show recoverypoints in secondary region.
Name of the Recovery services vault.
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 |