Comprehensive data protection for all workloads
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Secure restore

Post by Dima P. » 1 person likes this post

roelvdw,

Glad you nailed it. SureBackup follows the same set of rules specified in the xml, so, yup, it should work.

P.S. That's the final state for your Kaspersky Security 10 for Windows Server setup, right?

Code: Select all

<AntivirusInfo Name='Kaspersky Security 10 for Windows Server' IsPortableSoftware='true' ExecutableFilePath='C:\Program Files (x86)\Kaspersky Lab\Kaspersky Security 10 for Windows Server\kavshell.exe' CommandLineParameters='SSCAN %Path% c:\VeeamFLR' RegPath='' ServiceName='' ThreatExistsRegEx='Threat\s+found' IsParallelScanAvailable='false'>
<ExitCodes>
<ExitCode Type="Error" Description='Verkeerd commando'>-6</ExitCode>
<ExitCode Type='Success' Description='No threats detected'>0</ExitCode>
<ExitCode Type='Error' Description='Invalid command line argument'>1</ExitCode>
<ExitCode Type='Error' Description='Antivirus scan was completed with errors'>2</ExitCode>
<ExitCode Type='Error' Description='Antivirus scan was canceled'>4</ExitCode>
<ExitCode Type='Infected' Description='Virus threat was detected'>3</ExitCode>
</ExitCodes>
</AntivirusInfo>
roelvdw
Enthusiast
Posts: 60
Liked: 6 times
Joined: May 11, 2012 1:38 pm
Full Name: Vandewalle Roel
Contact:

Re: Secure restore

Post by roelvdw » 1 person likes this post

Hi Dima

Yes something like that
I also added <ExitCode Type='success' description = 'some objects are not scanned'> -83<\ExitCode> to pass objects that couldn't scanned. Info is also An option. Error or warning > not ok because the recovery stopped if you choose to abort recovery with malware Found

I also going to add al exitcodes of Kaspersky
Mike Resseler
Product Manager
Posts: 8044
Liked: 1263 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Secure restore

Post by Mike Resseler »

Roel,

Great news. It would also be very helpful for others if you could share your final XML with the community. As we stated in our release documentation, technically, every Anti-Malware vendor that supports commandline should work if you can create the XML file. If we have different people working with it, we might end with a large library of config files soon :-)
roelvdw
Enthusiast
Posts: 60
Liked: 6 times
Joined: May 11, 2012 1:38 pm
Full Name: Vandewalle Roel
Contact:

Re: Secure restore

Post by roelvdw »

Hi Mike

I share my final XML later today
roelvdw
Enthusiast
Posts: 60
Liked: 6 times
Joined: May 11, 2012 1:38 pm
Full Name: Vandewalle Roel
Contact:

Re: Secure restore

Post by roelvdw » 3 people like this post

Hi Mike

this is the code i have added to xml file.
Maybe for finetuning > changing some ExitCode Types .

Code: Select all

<AntivirusInfo Name='Kaspersky Security 10 for Windows Server' IsPortableSoftware='true' ExecutableFilePath='C:\Program Files (x86)\Kaspersky Lab\Kaspersky Security 10 for Windows Server\kavshell.exe' CommandLineParameters='SCAN %Path% C:\VeeamFLR' RegPath='' ServiceName='' ThreatExistsRegEx='Threat\s+found' IsParallelScanAvailable='false'>
		<ExitCodes>
			<ExitCode Type='Success' Description='No threats detected'>0</ExitCode>
			<ExitCode Type='Error' Description='Operation canceled'>1</ExitCode>
			<ExitCode Type='Error' Description='Service Not Running'>-2</ExitCode>
			<ExitCode Type='Error' Description='Permissions error'>-3</ExitCode>
			<ExitCode Type='Error' Description='Object not found'>-4</ExitCode>
			<ExitCode Type='Error' Description='Invalid command syntax or scan scope not defined'>-5</ExitCode>
			<ExitCode Type="Error" Description='Invalid command arguments'>-6</ExitCode>
			<ExitCode Type='Infected' Description='Infected and other objects detected'>-80</ExitCode>
			<ExitCode Type='Infected' Description='Probably infected objects detected'>-81</ExitCode>
			<ExitCode Type='Error' Description='Processing errors detected'>-82</ExitCode>
			<ExitCode Type='Success' Description='Unchecked objects found'>-83</ExitCode>
			<ExitCode Type='Infected' Description='Corrupted objects detected'>-84</ExitCode>
			<ExitCode Type='Error' Description='Task log creation file failed'>-85</ExitCode>
			<ExitCode Type='Error' Description='Unknown error'>-99</ExitCode>
			<ExitCode Type='Error' Description='Invalid key'>-301</ExitCode>
 		</ExitCodes>
	</AntivirusInfo>
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Secure restore

Post by Dima P. » 1 person likes this post

Glad to hear that it's working fine with Kaspersky Security 10 for Windows Server and once again thanks a lot for sharing the results with the community!
roelvdw
Enthusiast
Posts: 60
Liked: 6 times
Joined: May 11, 2012 1:38 pm
Full Name: Vandewalle Roel
Contact:

Re: Secure restore

Post by roelvdw »

Hi Dima

Also thanks for helping further.
I have an extra question :
Can you exclude disks from scanning on malware ?
If yes> how ?

Thx a lot

Kind regards
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Secure restore

Post by Dima P. »

roelvdw,

You are welcome! Unfortunately it's not possible to exclude the specific volume (or disk) from Secure Restore scan, so I note it as improvement request for the next versions.
roelvdw
Enthusiast
Posts: 60
Liked: 6 times
Joined: May 11, 2012 1:38 pm
Full Name: Vandewalle Roel
Contact:

Re: Secure restore

Post by roelvdw »

Hi Dima

Ok thx
Post Reply

Who is online

Users browsing this forum: No registered users and 276 guests