Azure Backup – Automation updates – 2021
Published date: 10 January, 2022
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.
- General availability of recovery services CLI: The CLI commands for Azure Backup 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.
- PS/CLI support for Backup Vault workloads: Azure Backup now has PowerShell and CLI support for the workloads supported by Backup vaults, i.e., Azure Databases for PostgreSQL Server, Azure Blobs, Azure Disks.
- Terraform support for Backup vault workloads: We now have Terraform modules published for PostgreSQL DB backup, Blob backup and Disk backup.
- Bicep templates for Azure Backup: Bicep 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, Blob backup and disk backup.
- 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, user-assigned identity for CMK and MSI authentication for managed disk restore.
Refer to the automation landing page to get started on setting up automation for your backups.