Platform: WindowsProducts: Managed Backup (Agent), Managed Backup (Web)
Article ID: m0100Last Modified: 05-Oct-2024

Application-Consistent Backups

Application-consistent backups are used to back up entities with high or extremely high transaction loads. Good examples of such entities can be Microsoft SharePoint, Active Directory, MS SQL Server, Oracle database solutions, or any other.

When such high-transactional solutions are subject to backup, the key point is the memory state and current transactions are stopped, flushed to disk, and are included in the backup dataset.

In cases memory cannot be flushed to disk for some reason, a backup dataset may not be valid for restore or some important data may be missing.

Thus, an application-consistent backup is a backup that is equipped with tools to notify applications about coming backup operation and allow applications to achieve a quiescent and consistent state by flushing all operations to disk.

Frameworks for Application-Consistent Backups

Volume Shadow Copy Service (VSS) is a framework designed primarily to solve the application-consistent problems for Windows operating systems. VSS is an infrastructure that provides backup applications with the feature of creating application-consistent backups.

When a backup procedure is initiated, VSS works as follows:

  1. Every running application that needs to flush its data kept in RAM to disk is notified by VSS.
  2. Then a Copy-On-Write operation is performed on volume.
  3. A volume snapshot is done and can be processed by a backup application.

Application-Consistent Backups for VMware Environments

Application-consistent backup of virtual machines on VMware environment is based on quiescence.

Note that the application-consistent backups are not supported on all guest operating systems. Read the Application-Consistent backups are unsupported in Linux virtual machine's (2044492) article at kb.vmware.com to learn a list of operating systems that support application-consistent backups

Quiescence

Quiescing is a process of bringing virtual machine file systems and application data to a consistent state. This is an important tool for correct application-consistent virtual machine backups.

To back up a currently running VM, quiescence is an efficient method. This concerns a virtual environment with highly-transactional applications (e.g. MS SQL Server or alike) since the safety of the application data is guaranteed by quiescence.

For consistent backup of virtual machines with no VSS support (Linux VMs), a crash-consistent quiescing is offered.

Also, quiescence suits to back up Microsoft Windows-based VMs with the built-in Microsoft VSS support. For these purposes, the VMware VSS component of VMware Tools is used.

To learn more, refer to Working with VSS chapter of the VMware documentation

Configure Application-Consistent Backups (BETA)

You can configure the Application processing options after the Select Virtual Machines step of the VMware backup wizard. These options can be configured separately for each virtual machine.

By default, the Try application processing setting is set. you can change it, if necessary.

The following options are available:

  • Try application processing. Back up virtual machines 'as is' if failed. Once this option is selected, virtual machines are backed up one by one. Using the installed VMware Tools, the state of applications running on virtual machines is checked, then a snapshot is made and an application-consistent backup is performed. In case an application-consistent snapshot is not made for some reason, a regular snapshot is done for this virtual machine.
  • Require successful application processing. Skip virtual machines if failed. Once this option is selected, virtual machines with applications that did not flush pending I/O operations from memory to disks, are skipped and an appropriate warning is displayed for a user.
  • Disable application processing. Back up virtual machines 'as is'. Once this option is selected, regular VM snapshots are done without quiescing.

Upgrading to Version 7.9 from Previous Versions

If you have VMware plans created in previous Backup Agent versions (7.8 or earlier), upon upgrade to the Backup Agent for Windows 7.9 or higher the new application-aware backup settings will be applied as follows:

  • If the Quiesce guest file system option was enabled, after an upgrade to version 7.9 the Back up virtual machines with application-consistency issues option will be set
  • If the Quiesce guest file system option was disabled, after an upgrade to version 7.9 the Do not use application-consistent backup option will be set

The Changed Block Tracking settings will be kept unchanged.

https://git.cloudberrylab.com/egor.m/doc-help-mbs.git