1-800-691-1991 | 9am - 8pm ET
EN

NAS Recycle Bin impact on Veeam Backup & Replication Repositories

KB ID: 4230
Product: Veeam Backup & Replication 11, Veeam Backup & Replication 10, Veeam Backup & Replication 9.5, Veeam Backup & Replication 9.0, Veeam Backup & Replication 8.0, Veeam Backup & Replication 7.0, Veeam Backup & Replication 6.5, Veeam Backup & Replication 6.1, Veeam Backup & Replication 5.0
Published: 2021-10-28
Last Modified: 2021-10-29

Challenge

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:

  • Repository Rescan completion time takes longer as more restore points are created.
  • Many duplicate backup datasets appear under the Backups > Disk (Imported) section.
  • The configuration database may exceed the SQL Express 10GB limitation.

 

*The exact feature name may vary depending on the storage vendor.

Cause


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.

Examples:

  • An SMB repository configured to use the root of the share (e.g., \\<hostname>\<sharename>\), causing Veeam Backup & Replication to scan the Recycle Bin if enabled in the NAS settings.

Solution

If an existing SMB Share repository is experiencing the side-effects described in the Challenge section of this article, do the following:

  1. Disable and Empty the Recycle Bin on the NAS for the share used by Veeam Backup & Replication.
    (Reference the storage vendors' documentation for information on how to do this.)
  2. Remove from configuration all duplicate entries listed under Backups > Disk (Imported)

 

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\)

 

More information

If the share path used by the Veeam Backup & Replication Repository is also used for other non-Veeam data, the rescan operation will scan those folders causing Rescan operations to take an excessive amount of time to complete. To mitigate this situation, create a dedicated folder for backups on the share (e.g., \\<hostname>\<sharename>\Backups\) and move Veeam Backup & Replication Backup Files.
KB ID: 4230
Product: Veeam Backup & Replication 11, Veeam Backup & Replication 10, Veeam Backup & Replication 9.5, Veeam Backup & Replication 9.0, Veeam Backup & Replication 8.0, Veeam Backup & Replication 7.0, Veeam Backup & Replication 6.5, Veeam Backup & Replication 6.1, Veeam Backup & Replication 5.0
Published: 2021-10-28
Last Modified: 2021-10-29

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you for your interest in Veeam products!
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.