B.1 Excluding Known Directories
Exclude Wilma’s ‘Personal’ directory
Excluding directories at fixed locations is most easily achieved using the ‘Directory Inclusions & Exclusions’ panel in the Source editor – see §5.4.4 .
The example of excluding Wilma’s ‘Personal’ directory can be accomplished by unticking that directory, as shown in Figure B.1.
B.2 Complex Exclusions
The following examples illustrate the exclusion of files using patterns that match path as well as filename.
Exclude all PDF files in any DOC directory
Since this example calls for the exclusion of an arbitrary number of DOC directories within the Source tree, the Source’s ‘Directory Inclusions & Exclusions’ panel is insufficient to describe the exclusions.
Instead, a Rule can be created that will exclude all PDF files in all directories named ‘DOC’ (and subdirectories thereof) at any location in the directory tree. In this case, each ‘DOC’ directory will still be traversed, since files that are not PDFs must still be processed.
Applying this to the example Policy:
- Create a Rule to match PDF files within a ‘DOC’ directory
- Create a Rule (See §5.6 )
- Check the Negate box
- (In the File Matching section, enter: DOC/**/*.pdf (See §5.6.4 )
Note that there is no leading ‘/’ - (Save the Rule
- Add this Rule to the Policy
- Edit the policy (see §5.7.3 )
- Add the Rule created in step 1; the selected Rules for the policy will now be ‘all files modified more than 6 months ago’ AND the newly created exclusion Rule
- Save the policy
Exclude PDF files in users’ ‘DOC’ directories (but not the Home level ‘DOC’ directory)
As in the previous example, this scenario calls for a Rule rather than an exclusion in the Source.
This Rule will exclude PDF files in all users’ ‘DOC’ directories (and subdirectories thereof). Note that this will not exclude PDF files in the ‘/DOC’ or ‘/Wilma/<subdir>/DOC’ directories. Each ‘DOC’ directory will still be traversed, since files that are not PDFs still be processed.
Applying this to the example Policy:
- Create a Rule to match PDF files within a ‘DOC’ directory that is one directory deep in the Source.
- Create a Rule (See §5.6 )
- Check the Negate box
- In the File Matching section, enter: /*/DOC/**/*.pdf (See §5.6.4 )
- Save the Rule
- Add this Rule to the ‘Migrate Home Directories’ policy
- Edit the policy (see §5.7.3 )
- Add the Rule created in step 1; the selected Rules for the policy will now be ‘all files modified more than 6 months ago’ AND the newly created exclusion Rule
- Save the policy
Figure B.1: Using a Source exclusion
Deprecated
FileFly 2 support expires on April 2020. Contact DataCore for help licensing and migrating to the current version of FileFly. See the License change instructions in the FileFly 3.1 Release Notes.
- FileFly 2 Release Notes
- FileFly 2 Administration Guide
- 1 Introduction
- 2 Deployment
- 3 Policy Operations
- 4 Sources and Destinations
- 5 FileFly Admin Portal Reference
- 6 Configuration Backup
- 7 Storage Backup
- 8 System Upgrade
- 9 Disaster Recovery
- A Network Ports
- B File and Directory Exclusion Examples
- C Admin Portal Security Configuration
- D Advanced FileFly Agent Configuration
- E Troubleshooting