Back in January, Microsoft discussed the benefits of Azure Backup in stopping ransomware. Now, Microsoft has announced support for application consistent backup for Linux VMs using Azure Backup.
In a blog post, Program Manager II for Azure Backup, Anurag Mehrotra, goes into detail about this extension.
Azure Backup provides a backup-as-a-service solution for customers to protect their on-premises data with cloud tools.
It can backup data the enterprise data center, in remote and branch offices or in the public cloud.
Execute custom pre and post scripts
The newly added framework allows users to execute custom pre and post scripts as part of the VM backup process. These scripts can be used to quiesce application IOs while taking backups that guarantee application consistency.
Here is the full changelog:
- “Customize backup workflow: Now you have full flexibility to control your applications and production environment during backup by executing custom scripts while taking the VM snapshot. Listed below are few examples on how you can leverage the framework:
You can use the pre-script to quiesce or redirect the application IOs momentarily using application native APIs and flush in memory content to disk before taking the VM snapshot. You can then use the post-script to thaw the IOs post snapshot completion and resume normal application operation. This will ensure application consistent VM backup for any application you are running. Some applications require fsfreeze to be disabled so that it does not interfere with their quiesce logic, so we also provide a capability to disable Linux fsfreeze which is executed by default while taking Linux VM backup using Azure Backup.
You can also invoke native application APIs to take application backup and database log backups, and as part of VM backup, data will be moved to Recovery Services Vault, thereby securing it against VM compromise scenarios (e.g. VM deletion or corruption).
- Application and distro agnostic: The framework is agnostic of Linux distros and versions, and works seamlessly for all supported Linux distros as long as the guest application has APIs to pause and resume application IOs.
- Sample scripts on github: We are working with partners and ISVs to provide open source scripts on github for popular Linux applications. As of this release, we have these in place for MySQL, Caché, and are working closely with SAP HANA.”
To learn how to configure the framework for executing pre-script and post-script, you can check out the following video: