Hello all,
I'm currently playin' around with some of the new features in v10, and one feature I'd like to test is "Secure Restore". But, I don't have a scanner license for my sandbox systems, so, I've installed the free malware scanner "ClamAV for Windows" (ClamWin) and added it to C:\Program Files\Common Files\Veeam\Backup and Replication\Mount Service\AntivirusInfos.xml as described in the documentation.
Since I haven't found anything on the web, I've added the necessary informations myself which took some time because of some tweaks in ClamAV config. I'm posting it here, maybe someone searching for a free scanner can use it. So, here's what has to be added to the configuration file on the repo servers for a default ClamWin install:
<AntivirusInfo Name='ClamWIN' IsPortableSoftware='true' ExecutableFilePath='%ProgramFiles(x86)%\ClamWin\bin\clamscan.exe' CommandLineParameters='--database="c:\ProgramData\.clamwin\db" --recursive %Path%' RegPath='' ServiceName='' ThreatExistsRegEx='' 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'>1</ExitCode>
</ExitCodes>
</AntivirusInfo>
HTH and, last not least, many thanks to Veeam for the good documentation of the XML file which makes it really easy to use other scanners!
Harald
-
- Enthusiast
- Posts: 37
- Liked: 20 times
- Joined: Sep 11, 2014 9:05 am
- Full Name: Harald Husemann
- Contact:
-
- Product Manager
- Posts: 14840
- Liked: 3086 times
- Joined: Sep 01, 2014 11:46 am
- Full Name: Hannes Kasparick
- Location: Austria
- Contact:
Re: Veeam B&R with ClamAV
Hello,
thanks for sharing the configuration with the community.
Best regards,
Hannes
thanks for sharing the configuration with the community.
Best regards,
Hannes
-
- Enthusiast
- Posts: 76
- Liked: 22 times
- Joined: Aug 27, 2013 3:44 pm
- Full Name: Jason Tupeck
- Contact:
Re: Veeam B&R with ClamAV
In case this is helpful, here is the latest config for running ClamAV, done with a fresh install and default options this morning.
<AntivirusInfo Name='ClamWIN' IsPortableSoftware='true' ExecutableFilePath='%ProgramFiles%\ClamAV\clamscan.exe' CommandLineParameters='--database="C:\Program Files\ClamAV\database" --recursive %Path%' RegPath='' ServiceName='' ThreatExistsRegEx='' 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'>1</ExitCode>
</ExitCodes>
</AntivirusInfo>
<AntivirusInfo Name='ClamWIN' IsPortableSoftware='true' ExecutableFilePath='%ProgramFiles%\ClamAV\clamscan.exe' CommandLineParameters='--database="C:\Program Files\ClamAV\database" --recursive %Path%' RegPath='' ServiceName='' ThreatExistsRegEx='' 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'>1</ExitCode>
</ExitCodes>
</AntivirusInfo>
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot], c.guerin, Semrush [Bot] and 294 guests