Summary
Application-aware processing allows for transactionally consistent backups of virtual machines that run VSS-aware applications such as Microsoft Active Directory, Microsoft SQL Server, Microsoft SharePoint, Microsoft Exchange or Oracle.
Application-aware processing relies on Microsoft VSS to quiesce the applications running on the virtual machine. Microsoft VSS ensures that there are no unfinished database transactions or incomplete application files when the backup job runs. In order to utilize application-aware processing you must have the most up to date version of VMware Tools and the latest guest OS updates installed on the source VM.
Requirements
The following is required when configuring Application-Aware processing:
- An administrative account.
- This can be provided in the form of a domain account that is a local admin within the guest OS.
- Entered in the format of domain name\username in the backup job settings.
- This can be provided in the form of a local administrator account with the guest OS.
- Entered in the format of computer name\user name in the backup job settings.
- The account must also have the required permissions to truncate logs within the application.
- This can be provided in the form of a domain account that is a local admin within the guest OS.
- User Account Control must be disabled.
- Edit the following registry key and set to 0.
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA
- Immediately reboot the Guest OS.
- If not done immediately, the settings will revert.
- Edit the following registry key and set to 0.
- No other VSS writers should be installed.
- Run vssadmin list writers from an administrative command prompt.
- If there are any additional listed from third-party software that are not needed, they should be removed.
- Run vssadmin list writers from an administrative command prompt.
- Have the latest VMware Tools installed.
- Have the latest guest OS updates installed.
How Application-Aware Processing Works
- The backup job triggers a runtime process to check if there are any applications installed and running on the source VM that utilize Microsoft VSS.
- Information about the installed applications utilizing VSS is collected, this is required during a restore of the data.
- The applications are prepared for VSS-aware restore.
- The VSS-aware restore process is started after a VM is powered on once it is restored.
- Microsoft VSS quiesces the application data for that specific point in time.
- The backup requests a VSS snapshot on the source VM guest OS.
- The backup triggers a VMware snapshot of the entire source VM.
- Microsoft VSS resumes application data, releasing the Microsoft VSS snapshot within the guest OS.
- The backup job continues as normal.
- If the option to truncate logs has been enabled the backup job initiates this process once the backup job has completed backing up the disks of the source VM.