Veeam SureBackup

Hello,

i am having a problem with the Veeam SureBackup in Backup&Replicaton and the Malware Detection and hoped someone could help me. For the Malware Detection to work i need to configure a XML-File for the antivirus software to check the machine beeing backed up.

Right now this antivirus.xml file contains this:

</AntivirusInfo>
<AntivirusInfo Name='SOPHOS ENDPOINT AGENT' IsPortableSoftware='true' ExecutableFilePath='%ProgramFiles%\Sophos\Endpoint Defense\SophosInterceptXCLI.exe' CommandLineParameters='--system' RegPath='' ServiceName='Sophos File Scanner Service' ThreatExistsRegEx='Threat\s+information' IsParallelScanAvailable='false'>
<ExitCodes>
<ExitCode Type='Success' Description='No threats detected'>0</ExitCode>
<ExitCode Type='Error' Description='Antivirus scan was completed with errors'>2</ExitCode>
<ExitCode Type='Infected' Description='Virus threat was detected'>2</ExitCode>
</ExitCodes>
</AntivirusInfo>

The Veeam Support also told me, that this seems to be fine with the only exception for maybe the 'Name' space. Could someone please help me with this.

Thanks and kind regards

Philipp

  • Thank you for reaching out to the community forum. 

    Upon checking, It appears that you're missing the scan parameter and jumping right into a scan option, which resulted in it not working. You’ll need to ensure the scan is listed as a parameter. 

    The below example may be of use to you: 

    <AntivirusInfo Name='Sophos Intercept X' IsPortableSoftware='true' ExecutableFilePath='%ProgramFiles%\Sophos\Endpoint Defense\SophosInterceptXCLI.exe' CommandLineParameters='scan --noui %Path%' RegPath='' ServiceName='' ThreatExistsRegEx='[dD]etections(: )*[1-9][0-9]*' IsParallelScanAvailable='false'>
    <ExitCodes>
    <ExitCode Type='Success' Description='No threats detected'>0</ExitCode>
    <ExitCode Type='Error' Description='Error during command handling'>1</ExitCode>
    <ExitCode Type='Error' Description='Unexpected error during CLI setup'>2</ExitCode>
    </ExitCodes>


    You can also amend the options you want to use after the scan, and those options are in this documentation

    Glenn ArchieSeñas (GlennSen)
    Global Community Support Engineer

    The New Home of Sophos Support Videos!  Visit Sophos Techvids