Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
Please, try again later.
A File Backup/file to tape job skips VSS snapshot creation on SMB share and ends with the following message in the log:
Failed to create a VSS snapshot, failing over to direct backup from the file share
A File Backup job for an SMB3 File Share configured to use Backup from a Microsoft VSS snapshot, with the Failover to direct backup if a snapshot is not available option disabled, fails with:
Failed to prepare VSS resources Error: Failed to call RPC function 'HvVssGetNormalizedRootPath': Failed to get SMB share root path. File name: '\\%hostname%\share\folder'. A Volume Shadow Copy Service component encountered an unexpected error. Check the Application event log for more information.
or
Failed to create a VSS snapshot Error: Failed to add volume [\\TESTVM\SHARE\] to the VSS snapshot set The shadow copy provider had an unexpected error while trying to process the specified operation. --tr:Failed to add volumes to the snapshot set. --tr:Failed to perform pre-backup tasks.
Note: In the section below, reference is made to a General-Purpose Backup Proxy; this role is assigned to the Veeam Backup Server by default. Additional General Backup Proxies can be created as needed, which can be important if the Veeam Backup Server is off-domain or in a segmented domain, per best practices.
Below are the requirements for VSS to function when backing up from an SMB3 share hosted by a Windows File Server:
For more information on the VSS for SMB File Shares feature, see the following Microsoft page:
https://docs.microsoft.com/en-us/archive/blogs/clausjor/vss-for-smb-file-shares
Do the following, with administrative privileges, to install the File Server role and the File Server Shadow Copy Agent role service on each file server:
Add-WindowsFeature -Name File-Services,FS-VSS-Agent
The user context in which the shadow copy is performed must have the backup privilege on the remote file server(s) that is part of the shadow copy set. Usually, this is done by adding the user that is performing the shadow copy to the Backup Operators group on the file server(s).
To add a user to the local Backup Operators group, do the following with administrative privileges on each file server:
$objUser = [ADSI]("WinNT://domain/user")
$objGroup = [ADSI]("WinNT://fileserv/Backup Operators")
$objGroup.PSBase.Invoke("Add",$objUser.PSBase.Path)
Your feedback has been received and will be reviewed.
Please, try again later.
Please try select less.
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case
Your feedback has been received and will be reviewed.
Please, try again later.