Skip to main content
NetApp Knowledgebase

What is the right format of '-paths-to-exclude' in 'vserver vscan onaccess-policy' command?

Views:
152
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
cifs
Last Updated:

Applies to

ONTAP 9.4

Description

Define the following parameter to get the files underneath "~snapshot" directory excluded from virus scanning, but it does not make them excluded.

::*> vscan on-access-policy create -vserver svm1_ontap94 -policy-name test_policy_1 -paths-to-exclude \ShareA\~snapshot

Sample Environment

1086546_1.png

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support