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
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.
The end date of the range in UTC (d-m-Y).
User initiated operation.
The start date of the range in UTC (d-m-Y).
Status of the Job.
Use this flag to show recoverypoints in secondary region.
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 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
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 job. You can use the backup job list command to get the name of a job.
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
.
Use this flag to show recoverypoints in secondary region.
Name of the Recovery services vault.
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 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
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 job. You can use the backup job list command to get the name of a job.
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
.
Use this flag to show recoverypoints in secondary region.
Name of the Recovery services vault.
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 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
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 job. You can use the backup job list command to get the name of a job.
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
.
Maximum time, in seconds, to wait before aborting.
Use this flag to show recoverypoints in secondary region.
Name of the Recovery services vault.
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