Challenge
In the environments using scale-out backup repository, Export Backup retention logic may delete the entire repository folder, if the required exported backup file has already been deleted manually by the user (prior to its retention policy expiration). This issue affects Veeam Backup & Replication 9.5 Update 4 or later.Cause
Data lost happens in the following scenario:1. You're using a scale-out backup repository (SOBR).
2. You've created at least one backup using Export Backup functionality with the automated retention setting enabled (non-default setting).
3. You've deleted the exported backup file manually prior to its retention policy expiration.
In the above scenario, upon reaching the retention policy for the already deleted exported backup file, and after failing to find the file, the daily run of the exported backups retention processing logic will erroneously delete the entire repository folder on one of the SOBR Performance Tier extents.
Note: Some backup storage types, for example local repositories on a backup server, or SMB shares, have safeguards in place which will restrict the entire repository folder deletion. SOBR made of such extents are thus not impacted by this issue.
Solution
1. Download the patch and extract ZIP file to your backup server.2. Check the current version of Veeam Backup & Replication. It must be 9.5.4.2866 (Update 4b).
3. Make sure that no jobs are running, close the console, and stop all Veeam services.
4. Right-click on the installation file and click "Run as administrator"
5. Go through the setup wizard to deploy the patch.
6. Re-launch Veeam Backup Console, and let Veeam automatically update all managed servers added to the Veeam server.
More Information
[[DOWNLOAD|DOWNLOAD PRIVATE FIX|https://storage.veeam.com/Fix_196816_e68e5ba37a.zip]]MD5 for kb3004.zip: 50e638db904c388d006037c33e4e4ece
SHA-1 for kb3004.zip: 4668da76dc232361e33938e90874b6bf34e4bdec