As Backup or Backup Copy jobs run targeting an SMB share on a NAS where the Recycle Bin* is enabled, the metadata files (VBM) can become captured in that Recycle Bin folder. Over time this may cause the following side-effects:
*The exact feature name may vary depending on the storage vendor. For example, one NAS vendor calls this a "Trashbox"
The underlying reason this issue occurs is that when a Backup or Backup Copy job needs to update the VBM file, rather than modify the known good VBM, a temporary VBM is written to disk. Then, once the write operation is completed, the old VBM is deleted, and then the new VBM is renamed. When the Recycle Bin feature is enabled on a NAS, it may capture these deleted VBM files in the Recycle Bin (e.g., @recycle or #recycle). When a Repository within Veeam Backup & Replication is configured to use a path that contains the Recycle Bin (even if hidden), the content of that folder will be scanned during a rescan. The rescan operation searches all folders in the Repository path recursively, looking for VBM files. If a VBM file is located in the Recycle Bin, the rescan operation will create a database entry for the found VBM file and an entry within the UI's Backups > Disk (Imported) section.
If an existing SMB Share repository is experiencing the side-effects described in the Challenge section of this article, do the following:
If you are building a new Repository for a share on a NAS device, it is advisable to create a dedicated backup folder and use that as part of the path when creating the repository. (e.g., \\<hostname>\<sharename>\Backups\)
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case