# NAS file server filter patterns

Use this page to configure filters for NAS file servers, including NFS exports and CIFS/SMB shares.

## NAS common patterns

Filter pattern | Description | Example | Behavior
--- | --- | --- | ---
`**` | Matches directory levels across shares | `/vol/data/**/cache/*` | Filters nested folders
`***` | Matches full directory tree | `/share/***` | Filters entire share
`*` | Matches file patterns | `*.log` | Filters log files

## NAS path-based filters

Use case | Pattern | Description | Behavior
--- | --- | --- | ---
Filter NFS export | `/vol/data/***` | Filters full export path | Filters export
Filter CIFS share | `\\filer\share\**` | Filters SMB share | Filters share
Filter subdirectory | `/share/projects/***` | Filters specific directory | Filters project folder

## NAS snapshot filters

Scenario | Pattern | Description | Behavior
--- | --- | --- | ---
NetApp snapshot | `**\.snapshot\***` | Snapshot directories | Excluded by default
Generic snapshot | `**\~snapshot\***` | Snapshot folders | Excluded by default
Include snapshots | `<BIF,-Snapshots>` | Overrides exclusion | Includes snapshots

## NAS-specific filtering scenarios

Scenario | Pattern | Behavior
--- | --- | ---
Exclude entire NAS share | `/share/***` | Filters all data
Exclude archive directories | `/share/archive/***` | Filters archive data
Exclude cache directories | `/share/**/cache/*` | Filters cache folders
Exclude temp files | `~$*` | Filters temporary files
Exclude system metadata | `.DS_Store`, `thumbs.db` | Filters OS-generated files

## NAS filtering behavior

Behavior | Description
--- | ---
Snapshot handling | Snapshot directories excluded by default
Recursive filtering | Use `***` for full traversal
Pattern matching | Works across directory levels
Protocol support | Supports NFS and CIFS formats
Case sensitivity | Filters are not case-sensitive

×

Loading...