Backup Health Settings

You can specify backup health settings for a backup chain created with the Veeam Agent backup job managed by the backup server. These operations help make sure that the backup chain remains valid and consistent.

The options that you see in the Advanced Settings window depend on the backup repository that you have selected at the Storage step of the wizard.

Scheduling Health Check

An automatic health check can help you avoid a situation where a restore point gets corrupted, making all dependent restore points corrupted, too. If during the health check Veeam Backup & Replication detects corrupted data blocks in the latest restore point in the backup chain (or the restore point before the latest one if the latest restore point is incomplete), it will start the health check retry and transport valid data blocks from the protected computer to the Veeam backup repository. The transported data blocks are stored to a new backup file or the latest backup file in the backup chain, depending on the data corruption scenario. For more information, see Health Check for Backup Files.

Scheduling Health Check

Tabs

Web UI

To schedule a health check for the backup job:

  1. At the Storage step of the wizard, click Change default advanced settings and open the Backup Health tab.
  2. Under Storage-level corruption guard, turn on the Enable health check for backup files toggle. Then select Weekly or Monthly on and specify the scheduling settings in the drop-down lists.

Specify Backup Health Settings

If you have selected an object storage repository, the Backup Health tab does not display the Enable full backup file defragmentation and compaction option.

Backup Health Settings for Object Storage

Console

To schedule a health check for the backup job:

  1. At the Storage step of the wizard, click Advanced.
  2. In the Advanced Settings window, select the Maintenance tab.
  3. In the Storage-level corruption guard section, select the Perform backup files health check check box and click Configure to specify the schedule for the health check.

Backup Health Settings

Removing Data of Deleted Items

For Veeam Agent backup jobs managed by the backup server, deleted items retention policy is similar to retention policy for deleted VMs. After you remove a protection group or individual computer from a Veeam Agent backup job, Veeam Backup & Replication will keep its data on the backup repository for the period that you have specified. When this period is over, backup data of this computer will be removed from the backup repository. For more information, see Retention Policy for Deleted Items.

By default, the deleted items data retention period is 30 days. Do not set the deleted items retention period to 1 day or a similar short interval. In the opposite case, the backup job may work not as expected and remove data that you still require.

Removing Data of Deleted Items

Tabs

Web UI

To specify the retention period for deleted items, on the Backup Health tab of the Advanced Settings window, under Full backup file maintenance, turn on the Remove data of deleted items after toggle and specify the number of days for which you want to keep the data of items removed from the backup job in the target location.

Console

To specify the retention period for deleted items, on the Maintenance tab of the Advanced Settings window, select the Remove deleted items data after check box and specify the number of days for which you want to keep the data of items removed from the backup job in the target location.

Compacting Full Backup File

During the compact operation, data blocks from the full backup file are copied to a new empty file. As a result, the full backup file gets defragmented, and the speed of reading from and writing to the backup file increases.

If the full backup file contains data blocks for deleted items (protection groups or individual computers), Veeam Backup & Replication removes these data blocks. For more information, see Compact of Full Backup File.

Consider the following about compact of full backup files:

  • If you want to periodically compact a full backup, you must make sure that you have enough free space in the target location. For the compact operation, the amount of free space must be equal to or more that the size of the full backup file.
  • In contrast to the compact operation for a VM backup, during compact of a full Veeam Agent backup file, Veeam Backup & Replication does not perform the data take out operation. If the full backup file contains data for a machine that has only one restore point and this restore point is older than 7 days, Veeam Backup & Replication will not extract data for this machine to a separate full backup file.
  • Compact of full backup files is not available for backup jobs targeted at object storage.
Compacting Full Backup File

Tabs

Web UI

To periodically defragment and compact a full backup, on the Backup Health tab of the Advanced Settings window, turn on the Enable full backup file defragmentation and compaction toggle. Then select Weekly or Monthly on and specify the scheduling settings in the drop-down lists.

Console

To periodically compact a full backup, on the Maintenance tab of the Advanced Settings window, select the Defragment and compact full backup file check box and click Configure to specify the schedule for the compact operation.

Page updated 2026-11-25

Page content applies to build 13.2.0.193