Step 17. Specify Guest OS Processing Options

The Guest Processing step of the wizard is available if at the Backup Mode step you have chosen the Server operation mode.

At this step, you can enable the following settings for guest OS processing:

Application-Aware Processing

If the computer runs VSS-aware applications, you can enable application-aware processing to create a transactionally consistent backup. The transactionally consistent backup guarantees proper recovery of applications without data loss.

To enable application-aware processing:

  1. At the Guest Processing step of the wizard, select the Enable application-aware processing check box.
  2. Click the Customize application handing options for individual applications link.
  3. In the Processing Settings window, on the General tab, specify if Veeam backup agent must process transaction logs or copy-only backups must be created.
  1. Select Process transaction logs with this job if Veeam backup agent must process transaction logs.

[For Microsoft Exchange] With this option selected, Veeam backup agent will wait for backup to complete successfully and then trigger truncation of transaction logs. If the backup job fails, logs will remain unaltered until the next backup job session.

[For Microsoft SQL Server and Oracle] You will need to specify additional settings for transaction log handling on the SQL and Oracle tabs of the Processing Settings window. For details, see Transaction Log Handling for Microsoft SQL Server and Transaction Log Handling for Oracle Databases.

  1. Select the Perform copy only option if you use another tool to maintain consistency of the database state. Veeam backup agent will create a copy-only backup. The copy-only backup preserves the chain of full/differential backup files and transaction logs. For details, see Microsoft Documentation.

Important!

If both Microsoft SQL Server and Oracle Server are installed on the same server, and log backup is enabled for both applications, Veeam backup agent will back up only Oracle transaction logs. Microsoft SQL Server transaction logs will not be processed.

For details on transaction log truncation, see section Transaction Log Truncation of the Veeam Agent for Microsoft Windows User Guide.

Specify Application-Aware Processing Settings

Transaction Log Handling for Microsoft SQL Server

If you back up Microsoft SQL Server, you can specify how Veeam backup agent must process database transaction logs:

  1. At the Guest Processing step of the wizard, select the Enable application-aware processing check box.
  2. Click the Customize application handing options for individual applications link.
  3. In the Processing Settings window, on the General tab, select Process transaction logs with this job.
  4. In the Processing Settings window, open the SQL tab.
  5. To specify a user account that Veeam backup agent must use to connect to the Microsoft SQL Server, select the Specify Microsoft SQL Server account with database admin privileges check box and specify a user name and password for the user account.

To connect to the Microsoft SQL Server, you must use a Microsoft Windows user account that has sysadmin privileges on the Microsoft SQL Server. You cannot use Microsoft SQL Server accounts (for example, the SA account) to connect to the database.

  1. Specify how transaction logs must be processed. You can select one of the following options:

It is recommended that you enable this option for databases that use the Simple recovery model. If you enable this option for databases that use the Full or Bulk-logged recovery model, transaction logs may grow large and consume all disk space. In this case, the database administrator must take care of transaction logs.

For details on log handling, see section Microsoft SQL Server and Oracle Logs Backup of the Veeam Agent for Microsoft Windows User Guide.

If you have chosen to back up transaction logs with Veeam backup agent, you must specify settings for transaction log backup:

  1. In the Backup logs every <N> minutes field, specify the frequency for transaction log backup.

By default, transaction logs are backed up every 15 minutes. The maximum log backup interval is 480 minutes.

  1. In the Retain log backups section, specify retention policy for transaction logs stored in the backup location.
  • Select Until the corresponding image-level backup is deleted to apply the same retention policy for image-level backups and transaction log backups.
  • Select Keep only last <N> days of log backups to keep transaction logs for a specific number of days. By default, transaction logs are kept for 15 days. If you select this option, you must make sure that retention for transaction logs is not greater than retention for the image-level backup. For details, see section Retention for Database Log Backups of the Veeam Agent for Microsoft Windows User Guide.

Important!

Veeam backup agent automatically excludes its configuration database from application-aware processing during backup. Transaction logs for the configuration database are not backed up.

Veeam backup agent does not support transaction logs backup to a cloud repository. If you want to back up transaction logs, you must select local storage, shared folder or Veeam Backup & Replication repository as backup target.

Specify Application-Aware Processing Settings for SQL

Archived Log Handling for Oracle Databases

If you back up a server that hosts an Oracle database, you can specify how Veeam backup agent must process archived logs:

  1. At the Guest Processing step of the wizard, select the Enable application-aware processing check box.
  2. Click the Customize application handing options for individual applications link.
  3. In the Processing Settings window, on the General tab, select Process transaction logs with this job.
  4. In the Processing Settings window, open the Oracle tab.
  5. Specify a user account that Veeam backup agent must use to connect to the Oracle database:
  1. Select the Specify Oracle account with SYSDBA privileges check box.
  2. In the Account field, select what type of user account you plan to use: Oracle account or Windows account.
  3. In the Username and Password fields, type a user name and password for the account.

The specified account must have SYSDBA permissions on the Oracle database.

  1. In the Archived logs section, specify if Veeam backup agent must delete archived logs on the Oracle database:

It is recommended that you select this option for databases for which the ARCHIVELOG mode is turned off. If the ARCHIVELOG mode is turned on, archived logs may grow large and consume all disk space. In this case, the database administrator must take care of archived logs.

  1. To back up Oracle archived logs with Veeam backup agent, select the Backup log every <N> minutes check box and specify the frequency for archived log backup.

By default, archived logs are backed up every 15 minutes. The maximum log backup interval is 480 minutes.

  1. In the Retain log backups section, specify retention policy for archived logs stored in the backup location:

By default, archived logs are kept for 15 days. If you select this option, you must make sure that retention for archived logs is not greater than retention for the image-level backups. For details, see section Retention for Database Log Backups of the Veeam Agent for Microsoft Windows User Guide.

Important!

Veeam backup agent does not support archived logs backup to a cloud repository. If you want to back up archived logs, you must select local storage, shared folder or Veeam Backup & Replication repository as backup target.

Specify Application-Aware Processing Settings for Oracle

Microsoft SharePoint Account Settings

If you back up a server that hosts Microsoft SharePoint, you must specify a user account that has enough permissions on the application:

  1. At the Guest Processing step of the wizard, select the Enable application-aware processing check box.
  2. Click the Customize application handing options for individual applications link.
  3. In the Processing Settings window, open the SharePoint tab.
  4. Select the Specify Microsoft SharePoint admin account check box.
  5. In the Username and Password fields, type credentials of the account.

Specify Application-Aware Processing Settings for SharePoint

Use of Pre-Freeze and Post-Thaw Scripts

If you plan to back up data of applications that do not support VSS, you can specify what scripts Veeam backup agent must use to help quiesce the OS and applications on the protected computer. The pre-freeze script quiesces the file system and application data to bring the OS to a consistent state before Veeam backup agent creates a VSS snapshot. After the VSS snapshot is created, the post-thaw script brings the file system and applications to their initial state.

To specify pre-freeze and post-thaw scripts for the job:

  1. At the Guest Processing step of the wizard, select the Enable application-aware processing check box.
  2. Click the Customize application handing options for individual applications link.
  3. In the Processing Settings window, open the Scripts tab.
  4. In the Script processing mode section, specify the scenario for scripts execution:
  1. In the Scripts section, specify paths to pre-freeze and post-thaw scripts.

Veeam backup agent supports scripts in the EXE, BAT, CMD, WSF, JS, VBS and PS1 formats.

  1. By default, Veeam backup agent performs guest processing activities under the Local System account. To specify a user account that Veeam backup agent must use to run pre-freeze and post-thaw scripts, select the Specify admin account for script execution check box and enter a user name and password for the user account.

For details on scripts, see section Pre-Freeze and Post-Thaw Scripts of the Veeam Agent for Microsoft Windows User Guide.

Specify Pre-Freeze and Post-Thaw Scripts

File Indexing

To specify guest OS indexing options:

  1. At the Guest Processing step of the wizard, select the Enable file system indexing check box.
  2. Click the Customize advanced file system indexing options link.
  3. In the Indexing Settings window, specify the indexing scope:

By default, system folders are excluded from indexing. You can add or delete folders using the Add and Remove buttons on the right. You can use system environment variables to form the list, for example: %windir%, %ProgramFiles% and %Temp%.

For details on file system indexing, see section File System Indexing of the Veeam Agent for Microsoft Windows User Guide.

Specify Guest OS File Indexing Settings