Maintained with ☕️ by
IcePanel logo

Azure Backup – Automation updates – 2021

Share

Services

Over the last year, Azure Backup has released multiple enhancements to its programmatic interfaces, enabling you to achieve efficiencies at scale and reduce human error. Take advantage of these key enhancements below, along with resources to help you get started. 1. General availability of recovery services CLI: The [CLI commands for Azure Backup](https://docs.microsoft.com/en-us/cli/azure/service-page/azure%20backup?view=azure-cli-latest) are now generally available, as they have now been updated to make use of the latest CLI standards. There are no breaking changes introduced, and you can continue to use the commands in the same way as you did during the public preview period. Alternatively, you can make use of enhancements in the parameter set (for example, the ability to use ARM IDs directly in commands) to simplify their script authoring experience. 2. PS/CLI support for Backup Vault workloads: Azure Backup now has [PowerShell and CLI support](https://docs.microsoft.com/en-us/azure/backup/backup-support-automation) for the workloads supported by Backup vaults, i.e., Azure Databases for PostgreSQL Server, Azure Blobs, Azure Disks. 3. Terraform support for Backup vault workloads: We now have Terraform modules published for [PostgreSQL DB backup](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/data%5Fprotection%5Fbackup%5Finstance%5Fpostgresql), [Blob backup](https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fregistry.terraform.io%2Fproviders%2Fhashicorp%2Fazurerm%2Flatest%2Fdocs%2Fresources%2Fdata%5Fprotection%5Fbackup%5Finstance%5Fblob%5Fstorage&data=04%7C01%7CAditya.Balaji%40microsoft.com%7C8adc6be8a68349401d6108d9c9dbfc70%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637762769103749333%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=jCnh8QmetUPlkSY%2FWYvKbGJzErhk70XNYWlnm76eiQA%3D&reserved=0)[ ](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/data%5Fprotection%5Fbackup%5Finstance%5Fblob%5Fstorage)and [Disk backup](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/data%5Fprotection%5Fbackup%5Finstance%5Fdisk). 4. Bicep templates for Azure Backup: [Bicep](https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/overview) is a domain-specific language (DSL) that uses declarative syntax to deploy Azure resources. It provides concise syntax, reliable type safety and support for code reuse. To enable Azure Backup users to benefit from Bicep, we’ve published sample Bicep templates for [Azure VM backup](https://docs.microsoft.com/en-us/azure/backup/quick-backup-vm-bicep-template), [Blob backup](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.dataprotection/backup-create-storage-account-enable-protection) and [disk backup](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.dataprotection/backup-create-disk-enable-protection). 5. PS/CLI support for new features: We’ve added PS/CLI support for most of the new features that became generally available in this period, for example, [archive storage](https://docs.microsoft.com/azure/backup/use-archive-tier-support?pivots=client-powershelltier),[ user-assigned identity for CMK](https://docs.microsoft.com/en-us/azure/backup/encryption-at-rest-with-cmk?tabs=powershell) and [MSI authentication for managed disk restore](https://docs.microsoft.com/azure/backup/backup-azure-vms-automation#using-managed-identity-to-restore-disks). Refer to the [automation landing page](https://docs.microsoft.com/azure/backup/automation-backup)[ ](https://docs.microsoft.com/en-us/azure/backup/automation-backup)to get started on setting up automation for your backups. * Azure Backup * Management * [ Azure Backup](https://azure.microsoft.com/en-gb/services/backup/)