Background Checkpoint Removal Job
To improve the performance of backup jobs that target object storage repositories, Veeam Backup & Replication runs a background checkpoint removal job. This job runs continuously as a background activity and removes checkpoints from backups located in object storage repositories.
How Background Checkpoint Removal Job Works
The algorithm of the background checkpoint removal job depends on the type of backup. For most backups, Veeam Backup & Replication removes outdated checkpoints at the request of the job or when the checkpoints removal job restarts.
Deleting Checkpoints by Job Request
The checkpoint removal by the job request has the following algorithm:
- A job produces a backup and starts to process this backup.
- The job sends a request to a backup service to remove outdated checkpoints and continues to run without waiting for a response from the service. By default, the background checkpoint removal job periodically checks the backup service for requests to remove checkpoints. Once it gets the request, it starts the removal.
- The background checkpoint removal job gets the backup ID, host ID, and repository ID from the request.
- The background checkpoint removal job starts an agent to get a list of outdated checkpoints.
Note |
To reduce the load on the backup server, Veeam Backup & Replication starts agents for checkpoint removal on different hosts depending on the repository connection mode:
|
- The background checkpoint removal job deletes outdated checkpoints.
Deleting Checkpoints when Background Checkpoint Removal Job Starts
To delete outdated checkpoints when the background checkpoint removal job restarts, Veeam Backup & Replication applies the backup filtering algorithm. It compares the latest removed checkpoint with the latest checkpoint created by the job. If the latest removed checkpoint does not coincide with the latest created checkpoint, Veeam Backup & Replication identifies the outdated checkpoint and removes it. Otherwise, the checkpoint removal is skipped.
Note |
The filtering algorithm processes backups based on their type and repository connection mode:
|
Cloud Connect Checkpoints Removal
Depending on the backup type and repository connection mode, Veeam Backup & Replication deletes checkpoints either on the tenant or on the Service provider side:
- Backups created by any job or Veeam Agent managed by Veeam Backup & Replication jobs that directly access object storage repositories: checkpoints are deleted on the tenant side by the job request.
- Backups created by any job or Veeam Agent jobs managed by Veeam Backup & Replication that use a gateway server to connect to object storage repositories: checkpoints are deleted on the Service provider side by job request.
- Backups created by Veeam Agent jobs managed by agent or in a standalone mode that connect to the object storage directly or using a gateway server: checkpoints are deleted on the Service provider every time the checkpoint removal job restarts.
Email Reports
Veeam Backup & Replication generates an email report that includes errors from all completed checkpoint removal jobs. The report is sent once a day according to Global Email Notification Settings.