While testing a restore from on prem to Azure, I selected the Basic_A2 VM in West Central US.
The restore process continues and starts creating resources in the Azure resource group, once the data is there and it's time to create the VM, Veeam tries creating the VM, when it fails it retries about 10 times until it ultimately fails with the message: Restore job failed Error: The remote server returned an error: (409) Conflict.
Looking at the Azure side, the logs show it was due to the VM size not being available in the location:
The requested size for resource '/subscriptions/SUBSCRIPTIONNUMBER/resourceGroups/SDT-VeeamAzure-dev-rg/providers/Microsoft.Compute/virtualMachines/<VMNAME>' is currently not available in location 'westcentralus' zones '' for subscription 'SUBSCRIPTIONNUMBER'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details.
If this was a large production VM, we would have had to wait until the data was restored then the VM would try to get created and fail then we would have to start over, so definitely room for improvement around the VM validation so we are not waiting so long for a failure.
Trying the restore again with a different size VM is successful.
Possible solutions from the Veeam side:
- Create the VM first, if the VM creation process fails, then abort and do not restore the data to disk, this should help with waiting so long for a failure.
- When selecting the VM size filter based on the selected region.
- Before submitting the restore job, run a validation to ensure the VM is available in that region.
Case # 04864255