We strongly recommend that you have our support team make any changes to the database.
It may be necessary to exclude different resources from a file server scan.
In case you are running multiple resource scan services, these must Excluded on the respective service, the exclude should not be applied to all services. Usually only one resource scan service is operated.
You can exclude entire paths or directories from the scan service. Please note that migRaven excludes certain types in advance.

Table of Contents
Exclusion of paths:
Example of excluding a path with a resource scan service:
MATCH (n:Services) where n.type="RES" set n.excludedpaths=['\\\\Testdom.local\\Docu-Data\\Docu-Data\\Organisation\\Finance'] RETURN n
Please always pay attention to the syntax, All back slashes must be escaped, multiple paths are separated by commas and the paths must be entered in quotation marks!
After you rescan the resource, the resource will no longer appear in My Folders and will no longer be included in any analyses.
Exclusion of directories:
Example of excluding directories with a resource scan service:
match (n:Services) where n.type="RES" set n.excludedfolders=['$recycle.bin','snapshot','System volume information','-snapshot','Cursors'] return n
Please always pay attention to the syntax, Multiple directories are separated by commas and the paths must be entered in quotation marks!
Attention: The previously excluded directories may need to be re-entered with each new change.
If you have multiple resource scan services configured and you run the exclude on all services, it will be applied to all of them.
Exclude explicitly configured for a resource service.
If you want to define an exclude specifically on a resource scan service, you must first identify it.
Use the following Cypher query to find all resource scans in your database.
match (n:Services) where n.type="RES" return n
From the Node properties on the right, identify the ID of the service on which you want to configure an exclude.
Exclude with explicit service ID
match (n) where id(n)=14501 set n.excludedpaths=['\\\\Testdom.local\\Docu-Data\\Docu-Data\\Organisation\\Personal','\\\\Testdom.local\\Docu-Data\\Docu-Data\\Organisation\\Finance'] return n
