Hi @santosh llc ,
Yes this is doable for example with Azure PowerShell or Azure CLI, please refer to the official documentations below for achieving this with Azure PowerShell:
Back up Azure VMs
https://learn.microsoft.com/en-us/azure/backup/backup-azure-vms-automation#back-up-azure-vms
Soft delete for Azure Backup - Permanently deleting soft deleted backup items
https://learn.microsoft.com/en-us/azure/backup/backup-azure-security-feature-cloud#using-azure-powershell
Here's also a great blog post on automating Azure VM backups with Azure PowerShell:
Automate Backup For Azure VMs using PowerShell for Azure Backup
----------
If the reply was helpful please don't forget to upvote
and/or accept as answer
, thank you!
Best regards,
Leon