Step 5a. Enable Application-Aware Processing
To restore your applications without data loss, you must allow Veeam Backup & Replication to create application-consistent backups. To do that, select the Enable application-aware processing check box at the Guest Processing step of the wizard.
When creating application-consistent backups, Veeam Backup & Replication takes transactionally consistent VM snapshots while no write operations occur on VM disks. To do that, Veeam Backup & Replication quiesces applications on the processed VMs and creates a consistent view of application data:
- To quiesce VSS-aware applications running on Windows-based VMs (such as MS SQL, MS Exchange, Microsoft Active Directory and Microsoft SharePoint), Veeam Backup & Replication leverages the Microsoft VSS technology.
- To quiesce applications running on Linux-based VMs and non-VSS-aware applications running on Windows-based VMs, Veeam Backup & Replication runs custom scripts before and after the snapshot creation.
Processing Transaction Logs
If you enable application-aware processing, Veeam Backup & Replication will back up and truncate transaction logs produced by VM applications every time the backup job starts. To change this behavior, you can do either of the following:
- Instruct Veeam Backup & Replication not to process and truncate logs. This will allow third-party backup solutions to perform VM guest-level backup and to maintain consistency of the database state.
- Instruct Veeam Backup & Replication to back up and truncate transaction logs more often. This will allow you to use application-consistent backups to restore your MS SQL, Oracle and PostgreSQL databases to specific points in time.
To configure log processing settings, do the following:
- Click Applications.
- In the Application-Aware Processing Options window, select the necessary resource and click Edit. You can configure guest processing settings for multiple resources at a time.
If you want to configure processing settings for a specific VM that is included into a protection domain, cluster, category or Prism Central, you must configure those settings separately. To do that, click Add, choose the necessary VM and click Edit.
- To specify how Veeam Backup & Replication will process transaction logs of VSS-aware applications, select the Process transaction logs with this job option on the General tab of the Processing Settings window, switch to the SQL tab and follow the instructions provided in section Microsoft SQL Server Transaction Log Settings.
If you do not want Veeam Backup & Replication to process and truncate transaction logs of VSS-aware applications, select the Perform copy only option. However, with this option selected, the backup job will produce copy-only backups that cannot be used to restore MS SQL databases to specific points in time. For more information on copy-only backups, see Microsoft Docs.
- To specify how Veeam Backup & Replication will process transaction logs of Oracle database systems, switch to the Oracle tab and follow the instructions provided in section Oracle Archived Redo Log Settings.
- To specify how Veeam Backup & Replication will process transaction logs of PostgreSQL database systems, switch to the PostgreSQL tab and follow the instructions provided in section PostgreSQL WAL Files Settings.
- To specify scripts that Veeam Backup & Replication will use to quiesce non-VSS-aware applications, switch to the Scripts tab and follow the instructions provided in section Pre-Freeze and Post-Thaw Scripts.
Tip |
To instruct Veeam Backup & Replication not to perform application-aware processing for the selected resource at all, select the Disable application processing option. |
Handling Application-Aware Processing Errors
By default, Veeam Backup & Replication requires application-aware processing to finish without errors for the backup job to complete successfully. In case of an error, Veeam Backup & Replication terminates the backup operation, and the backup job will not process transaction logs until a new image-level backup is created for each of the VMs included into the backup scope.
To change this behavior and instruct Veeam Backup & Replication to proceed with the backup operation, creating a crash-consistent backup instead of an application-consistent backup, switch to the General tab of the Processing Settings window and select the Try application processing, but ignore failures option.