Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
TommySharp
Novice
Posts: 6
Liked: never
Joined: Dec 08, 2015 1:06 am
Full Name: Tommy Sharp
Contact:

Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by TommySharp »

I'm setting up a new NAS at home and am trying to set my Windows 10 machine to backup to the new UNC path.

I just keep getting this error, I've uninstalled and re-installed.... Reset the backup database but just having no luck :-(
Any help would be appreciated....

Code: Select all

[24.11.2017 23:46:02] <01> Error    Invoke failed. Command: 'ReFs.SetFileIntegrity', parameters: {(EString) StgLink=\\NAS01\Backups\Veeam\Backup Job BONNIE\Backup Job BONNIE2017-11-24T234525.vbk; (EBoolean) IntegrityEnable=true; (EBoolean) Option.Remote=false; }.   at Veeam.Backup.AgentProvider.CBackupClient.OnInvokeError(Exception e, String command, CVCPCommandArgs inArgs)
[24.11.2017 23:46:02] <01> Error       at Veeam.Backup.AgentProvider.CBackupClient.Invoke(String command, CVCPCommandArgs inArgs, Boolean noLog)
[24.11.2017 23:46:02] <01> Error       at Veeam.Backup.AgentProvider.CBackupClient.ReFsSetFileIntegrity(String storagePath, Boolean enableIntegrityStream, Boolean remote)
[24.11.2017 23:46:02] <01> Error       at Veeam.Backup.Core.CStorageCommanderHelper.CreateStorageFile(CStorage storage, IBackupClient client, String agentLink, Boolean overwriteIfExists, Boolean turnOnIntegrityStream)
[24.11.2017 23:46:02] <01> Error       at Veeam.Backup.Core.CStorageCommander.Create(CStorageInfo storageInfo, IStorageName storageName, IBackupClientHolder clientHolder, Boolean overwriteExisting)
[24.11.2017 23:46:02] <01> Error       at Veeam.Backup.Core.CStorageEx.CreateStorageFile(CStorageInfo storageInfo, IStorageName storageName, CBackup backup, IBackupClientHolder agentHolder, IStorageAccessor storageAccessor, IEncryptedBackupSession cryptoBackupSession, Boolean overwriterExisting)
[24.11.2017 23:46:02] <01> Error       at Veeam.Backup.Core.CFullStorageAlg.CreateFullStorage(IBackupClientHolder agentHolder)
[24.11.2017 23:46:02] <01> Error       at Veeam.Backup.Core.CFullStorageAlg.InitStorages(IBackupClientHolder agentHolder)
[24.11.2017 23:46:02] <01> Error       at Veeam.Backup.Core.CBackupJobTarget.InitStorageAlg(IBackupTask task, IStorageAlg storageAlg)
[24.11.2017 23:46:02] <01> Error       at Veeam.Backup.Core.CBackupJobTarget.CreateVmTarget(IBackupTask vmTask, CBackupTaskSession taskSession)
[24.11.2017 23:46:02] <01> Error       at Veeam.EndPoint.CEndPointBackupTarget..ctor(CBackupJobTarget jobTarget, CEndPointBackupTask backupTask, CBackupTaskSession backupTaskSession)
[24.11.2017 23:46:02] <01> Error       at Veeam.EndPoint.CEndPointBackupJobPerformer.ExecuteTask(CBackupTaskContext backupTaskContext)
[24.11.2017 23:46:02] <01> Error    Incorrect function.
[24.11.2017 23:46:02] <01> Error    Agent failed to process method {ReFs.SetFileIntegrity}.
[24.11.2017 23:46:02] <01> Error       at Veeam.Backup.AgentProvider.CClientAgentProtocol.Invoke(String command, CVCPCommandArgs inArgs, Boolean noLog, Boolean agentNoLog)
[24.11.2017 23:46:02] <01> Error       at Veeam.Backup.AgentProvider.CBackupClient.Invoke(String command, CVCPCommandArgs inArgs, Boolean noLog)
[24.11.2017 23:46:02] <01> Error    Incorrect function.   in c++: Error code: 0x00000001
[24.11.2017 23:46:02] <01> Error       in c++: Failed to set file integrity attribute true
[24.11.2017 23:46:02] <01> Error       in c++: Failed to set integrity stream for file \\NAS01\Backups\Veeam\Backup Job BONNIE\Backup Job BONNIE2017-11-24T234525.vbk
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by Dima P. »

Hello Tommy,

Please open a support case via Control Panel > Support > Technical Support and share the case ID. Thanks!
TommySharp
Novice
Posts: 6
Liked: never
Joined: Dec 08, 2015 1:06 am
Full Name: Tommy Sharp
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by TommySharp »

Case # 02399223
TommySharp
Novice
Posts: 6
Liked: never
Joined: Dec 08, 2015 1:06 am
Full Name: Tommy Sharp
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by TommySharp »

I'm not having issues with a Windows 7 machine I also just upgraded to v2....
gollem
Enthusiast
Posts: 33
Liked: 7 times
Joined: Jun 16, 2012 7:26 pm
Full Name: Erik E.
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by gollem »

What type of NAS device are you running Tommy and has your issue been resolved?

I'm running into the same type of issue, I'm not sure where the issue is coming from. I'm running a netgear readynas OS version 6.9.0. (although my jobs ran succesfull after the upgrade, so i;m not sure if the readynas is the culprit here)

Windows 10 proxy.

Thanks!


Edit:
https://community.netgear.com/t5/Using- ... -p/1415108
https://community.netgear.com/t5/Using- ... -p/1407628

This seems to be an issue with Veeam, it looks like veeam is realasing a hotfix for it.
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by Dima P. »

In case of Netgear storage I recommend updating Veeam Agent for Windows to the latest 2.1 version (released today). Version 2.1 contains the mentioned fix.
gollem
Enthusiast
Posts: 33
Liked: 7 times
Joined: Jun 16, 2012 7:26 pm
Full Name: Erik E.
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by gollem » 2 people like this post

My issue wasn't with the Windows Agent but with Backup an Recovery,

As suggested here: veeam-backup-replication-f2/any-closer- ... 41-45.html
I've added a REG_DWORD (32-bit) with the name UseCifsVirtualSynthetic  and a data value of 0 to HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\ on our Veeam server, restarted the veeam backup service and its working like a charm.
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by Dima P. »

Erik,

Indeed, Veeam B&R U3 contains the mentioned reg key which should solve this problem at B&R side. Thanks for sharing!
RickAtET
Lurker
Posts: 1
Liked: 1 time
Joined: Dec 27, 2017 1:46 pm
Full Name: Rick LaPorte
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by RickAtET » 1 person likes this post

Thank you for your post. You suggested solution worked for me on my new Windows Server 2016 installation.

I've added a REG_DWORD (32-bit) with the name UseCifsVirtualSynthetic and a data value of 0 to HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\ on our Veeam server, restarted the veeam backup service and its working like a charm.

I can complete backups now. Much appreciated....
cornwella

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by cornwella » 1 person likes this post

Sorry for the thread necromany, but I've had this happen to me on a Netgear ReadyNAS on firmware 6.10.1 using Veeam B&R 9.5 Update 4. I had to add the mentioned registry keyword, otherwise all of our backups would fail with the error mentioned in the OP. So for anyone running into this, it still works in 2019 :)
messiah1095
Lurker
Posts: 1
Liked: 1 time
Joined: Oct 24, 2016 1:07 am
Full Name: Matthew Davidson
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by messiah1095 » 1 person likes this post

Same setup as cornwella (although we are on 2016) and can confirm the registry entry fixed our issue as well.
michael.wilson
Lurker
Posts: 1
Liked: never
Joined: Oct 25, 2019 5:40 pm
Full Name: Michael Wilson
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by michael.wilson »

I have a Netgear ReadyNAS on firmware 6.9.5 using Veeam B&R 9.5 Update 4
Backing up Windows server 2019 and other VMs from a backup server running Windows 10 Pro 1809... same issue:
Error: Incorrect function. Agent failed to process method {ReFs.SetFileIntegrity}.
I used the registry fix:
add a REG_DWORD (32-bit) with the name UseCifsVirtualSynthetic and a data value of 0 to HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\

Restarted the backup server and it worked fine, if a bit slower than expected.
DataBoy
Lurker
Posts: 1
Liked: 1 time
Joined: Nov 12, 2019 9:49 pm
Full Name: daniel a deveson
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by DataBoy » 1 person likes this post

Confirming that this works (and is required) with Netgear 6.9.5 hotfix 1, with Community Edition 9.5
fmacondray
Lurker
Posts: 1
Liked: never
Joined: Dec 17, 2019 7:27 am
Full Name: Fred Macondray
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by fmacondray »

Registry edit worked for me as well.
KLinville
Influencer
Posts: 12
Liked: 5 times
Joined: Nov 16, 2015 3:01 pm
Full Name: Kristopher Linville
Location: Evansville, IN
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by KLinville »

What is this registry key actually doing? Is this an issue with ReFS formatting of the repository?

Update: Reformatting the repository as ReFS corrected the issue for me.
isusko
Influencer
Posts: 12
Liked: 1 time
Joined: Sep 22, 2021 11:25 am
Full Name: Isusko Sallen Latatu
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by isusko » 1 person likes this post

gollem wrote: Dec 21, 2017 11:59 am My issue wasn't with the Windows Agent but with Backup an Recovery,

As suggested here: veeam-backup-replication-f2/any-closer- ... 41-45.html
I've added a REG_DWORD (32-bit) with the name UseCifsVirtualSynthetic  and a data value of 0 to HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\ on our Veeam server, restarted the veeam backup service and its working like a charm.
Thanks a lot, I was having this issue and this worked for me! :mrgreen:
ValiantMartian
Enthusiast
Posts: 36
Liked: 5 times
Joined: Oct 28, 2019 6:02 pm
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by ValiantMartian » 1 person likes this post

Confirming that this adding this registry DWORD fix worked 2/22/2022 on my Synology Rackstation RS818+ when trying to back up to a USB drive attached to the NAS.
sweetasman01
Lurker
Posts: 1
Liked: 1 time
Joined: Mar 30, 2022 5:47 am
Full Name: Carl Crawford
Contact:

Re: Invoke failed. Command: 'ReFs.SetFileIntegrity'

Post by sweetasman01 » 1 person likes this post

Confirming that this adding this registry DWORD fix worked 30 March 2022 on my Synology RS920+ running DSM 7.0.1-42218 Update 3when trying to backup 4TB from a Hyper-V server running Windows Server 2016.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 26 guests