Veeam Backup使用相关问题汇总

问题1

备份到SMB存储报错,提示“Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}”

解决方法
定位到注册表HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication
新建DOWRD值,名称UseCifsVirtualSynthetic,数值为0

问题2

恢复实例到ESXi时报错,提示以下错误:
1. Error: Unable to check if vPower NFS is mounted on the host
2. Failed to add NFS datastore for NFS host
3. Failed to mount NFS volume

解决方法
检查是否有其他服务占用了NFS端口
Get-Process -Id (Get-NetTCPConnection -LocalPort 111).OwningProcess

问题3

使用Agent备份时报错,提示:

2022/8/7 1:21:08 :: Creating VSS snapshot Error: Failed to create snapshot: Backup job failed.
Cannot create a shadow copy of the volumes containing writer's data.
A VSS critical writer has failed. Writer name: [SqlServerWriter]. Class ID: [{a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}]. Instance ID: [{27cb112f-ca7c-4875-8f90-96f6ac42b218}]. Writer's state: [VSS_WS_FAILED_AT_PREPARE_SNAPSHOT]. Error code: [0x800423f4].

解决方法
使用vssadmin list writers发现以下错误

写入程序名: 'SqlServerWriter'
   写入程序 ID: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}
   写入程序实例 ID: {01db3075-d98f-46de-ab9e-7f8fdd59fbd7}
   状态: [8] 失败
   上一个错误: 不可重试的错误

禁用SQL Server VSS Writer(SQLWriter)服务

来源:
https://forums.veeam.com/microsoft-hyper-v-f25/error-incorrect-function-agent-failed-to-process-method-refs-setfileintegrity-t68754.html

https://www.veeam.com/kb1055

https://forums.veeam.com/veeam-agent-for-windows-f33/creating-vss-snapshot-error-t44472.html