Application consistent backup for Linux VMs using Azure Backup. Azure Backup provides file system consistent backup of Linux Virtual Machines running in Azure. Today, Microsoft extending this to take application consistent backups for enterprise critical applications such as MySQL, InterSystems Cache, and SAP HANA running on popular Linux distros. This framework gives you flexibility 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.

Value propositions

  • 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. 

Under the hood

Azure Backup completes a sequence of steps for taking fast and efficient Azure Linux VM backup as explained in the image below:

Getting started

Below video walks you through various steps on how to configure the framework for executing pre-script and post-script. For more details please refer to the steps to configure application-consistent Linux VM backup.

Sample scripts for MySQL & Cache

To bootstrap the framework, we worked with InterSystems Caché DB and MySQL DB example with demo scripts, including clustered deployments. You can use this as a reference to create your own scripts and leverage the power of this framework.

MySQL application consistent backup using Azure Backup by Capside

Caché application consistent backup using Azure Backup by Intersystems

Share on Pinterest
Share with your friends










Submit