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 » Nov 24, 2017 10:56 am

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: 10710
Liked: 881 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. » Nov 24, 2017 1:14 pm

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 » Nov 25, 2017 10:56 am

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 » Nov 25, 2017 10:57 am

I'm not having issues with a Windows 7 machine I also just upgraded to v2....

gollem
Enthusiast
Posts: 27
Liked: 5 times
Joined: Jun 16, 2012 7:26 pm
Full Name: Erik E.
Contact:

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

Post by gollem » Dec 18, 2017 10:36 am

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: 10710
Liked: 881 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. » Dec 19, 2017 5:56 pm

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: 27
Liked: 5 times
Joined: Jun 16, 2012 7:26 pm
Full Name: Erik E.
Contact:

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

Post by gollem » Dec 21, 2017 11:59 am 1 person likes 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: 10710
Liked: 881 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. » Dec 21, 2017 7:04 pm

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 » Dec 27, 2017 1:56 pm 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
Lurker
Posts: 1
Liked: 1 time
Joined: Jun 28, 2019 11:42 pm
Contact:

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

Post by cornwella » Jun 28, 2019 11:45 pm 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 » Jul 23, 2019 10:49 pm 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 » Oct 25, 2019 9:49 pm

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 » Nov 12, 2019 9:53 pm 1 person likes this post

Confirming that this works (and is required) with Netgear 6.9.5 hotfix 1, with Community Edition 9.5

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 9 guests