Check backup status


You can check the backup status of Resource Manager-deployed VMs.


Check backup status can be called using the format below for both Microsoft.Compute and Microsoft.ClassicCompute VMs running in Azure. The VM resource id mentioned in the request is link access checked.

Method Request URI HTTP Version
POST https://<endpoint>/subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{location}/backupStatus HTTP/1.1

Request Header:

Common request headers are described here.

Sample Request Body:

   "resourceType": "VM",
   "resourceid": "/subscriptions/{id}/resourceGroups/{groupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"


The response includes an HTTP status code (200), a set of response headers, and a response body.

Response Header:

Common response headers are described here.

Response Body:

The response specifies whether the VM is protected or not and if it’s protected it also specifies the vault resource id along with product specific names for the VM container and its data source.

Example response for backup status:

  1. VM protected or registered by the backend service
  "vaultId": "/subscriptions/{id}/resourceGroups/{groupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}",
  "protectionStatus": "Protected|Protecting",
  "fabricName": "Azure",
  "containerName": "iaasvmcontainer;iaasvmcontainer;csname;vmname",
  "protectedItemName": "vm;iaasvmcontainer;csname;vmname"
  1. VM is not protected by the backend service
  "protectionStatus": "NotProtected",
  "fabricName": "Azure",
  "containerName": "iaasvmcontainer;iaasvmcontainer;rgname;vmname",
  "protectedItemName": "vm;iaasvmcontainer;rgname;vmname"