If VMs run Microsoft Active Directory, Microsoft SQL Server, Microsoft SharePoint, Microsoft Exchange or Oracle, you can enable application-aware processing to create transactionally consistent backups or replicas. The transactionally consistent replicas guarantee proper recovery of applications without data loss.
To configure application-aware processing:
- Select the Enable application-aware processing check box.
- Click the Customize Application link.
- To define custom settings for a machine in the list, select it and click Edit.
Consider the following:
- To customize settings of a machine added to the job as part of a container, add the machine as a standalone instance. For that, click Add machine and choose the necessary VM. Next, select the machine from the list and click Edit to customize VM settings.
- To discard custom settings of a machine, select the machine in the list and click Remove.
- Configure the necessary settings for the selected application server:
In this section, select the option that corresponds to a transactionally-consistent backup creation scenario of your choice:
- Select Require successful processing (default option) if you want Veeam Backup & Replication to stop the backup job if an error occurs.
- Select Try application processing, but ignore failures if you want to continue the backup process even if an error occurs. This option guarantees completion of the job. The created backup image will not be transactionally consistent, but rather crash-consistent.
- Select Disable application processing if you do not want to enable application-aware processing for the VM. This option makes the Transaction Logs Processing section unavailable.
Transaction Logs Processing Section
In this section, specify whether this job should process transaction logs upon a successful backup:
- Select Process transaction logs with this job if you want Veeam Backup & Replication to handle transaction logs. With this option enabled (default setting), Veeam will support log pruning for Microsoft Exchange and Microsoft SQL Servers, as well as for Oracle databases archived logs:
- Truncation of transaction logs for Microsoft Exchange Server machines will be performed after the job completes successfully: the Veeam runtime process will wait for the machine backup to complete and then trigger truncation of transaction logs. If truncation of transaction logs is not possible for some reason, the logs will remain untouched in the machine guest OS until the next start of the Veeam runtime process.
- Settings for SQL Server transaction log handling can be configured separately on the SQL tab — it becomes available to you with this option selected.
- Similarly, you can configure settings for Oracle database archived logs processing on the Oracle tab.
- Select Perform copy only if you want to use native application means or a third-party tool to process transaction logs. Veeam Backup & Replication will create a copy-only backup for the selected machine. The copy-only backup preserves a chain of full/differential backup files and transaction logs, so Veeam Backup & Replication will not trigger transaction log truncation. This option is recommended if you are using another backup tool to perform the machine guest-level backup, and this tool maintains consistency of the database state. To learn more, see the Guest Processing section of the Veeam Backup & Replication User Guide.
With this option selected, the SQL and Oracle tabs are not available.
For more information on configuring Microsoft SQL Server processing settings, see Backup and Restore of Microsoft SQL Server Databases.
For more information on configuring Oracle processing settings, see Backup and Restore of Oracle Databases.
On the File Exclusions tab, specify whether to exclude or include specific files in the backup. Exclusions can help decrease the backup file size. However, selective processing takes additional time that depends on the number of excluded files; also, it requires obtaining per-file metadata (stored in backups). Thus, it is recommended to use this option for excluding large files. By default, exclusions are disabled.
- Exclude the following files and folders — with this option selected, you can specify what files and folders must be excluded from the backup.
- Include only the following files and folders — with this option selected, you can specify exactly what files and folders must be only included in the backup.
Click Add and specify what files and folders you want to include or exclude.
To form the list of exclusions or inclusions, you can use full paths to files and folders, environmental variables, and file masks with the asterisk (*) and question mark (?) characters. For more information, see the VM Guest OS Files section of the Veeam Backup & Replication User Guide.