Tools > Storage Manager > Storage Exclusions
The Storage Exclusions option on the Tools menu enables you to specify types of files you want excluded from storage and StorNext processing.
For example, you may want to exclude certain confidential files or files containing sensitive material.
The process involves specifying file names, as well as criteria so StorNext knows how to identify the files to exclude. You can create as many exclusion patterns as you like, and as your needs change you can delete unwanted exclusion patterns. These exclusions are stored in a file which StorNext checks before executing store operations.
Note: If you exclude a file and then later rename that file, the renamed file will not be excluded from store operations unless:
There is an existing exclusion that covers the renamed file, or you create a new exclusion for the renamed file.
On the Tools menu, click Storage Manager, and then click Storage Exclusions. The Tools > Storage Manager > Storage Exclusions page appears. Any previously saved exclusions are displayed.
- On the Tools menu, click Storage Manager, and then click Truncation Exclusions. The Tools > Storage Manager > Truncation Exclusions page appears.
- Click Add New Exclusion.
- In the Type list, select one of the following types of exclusions:
Exclusion Type | Description |
---|---|
Unknown |
This type appears until you select a different type, and remains if you select no type. |
Match |
File paths which match the string in the Pattern field are excluded. Wildcards can be used for this type. To enter an exclusion which includes all files in a directory, the directory name and a wildcard must be specified. For example, enter /sn/foodir/* to exclude all files in the directory /sn/foodir. Note: The difference between Match and Match Path is that slashes must be explicitly entered for the Match Path type. When using Match Path you cannot substitute a wildcard for a slash. |
Match Path |
File paths which match the string in the Pattern field are excluded. Wildcards can be used for this type. Note: The difference between Match and Match Path is that slashes must be explicitly entered for the Match Path type. When using Match Path you cannot substitute a wildcard for a slash. |
Begins With |
File paths beginning with the string in the Pattern field are excluded. |
Ends With |
File paths ending with the string in the Pattern field are excluded. |
Contains |
File paths containing the string in the Pattern field are excluded. |
Exact |
Only file paths that exactly match the string in the Pattern field are excluded. |
- At the Pattern field, enter the search string for the directory. Depending on the exclusion type you selected, this could be a whole or partial path name for a directory, or a string. If you selected the Match or Match Path type, you can use the following wildcards at the Pattern field:
Wildcard | Description |
---|---|
? (question mark) |
Substitute any single character. For example, if you enter t?p, it will match “top” “tip” and “tap”. |
* (asterisk) |
Substitute one or more characters. For example, if you enter f*l, it will match “ful” “fail” “foil” “fall” and “frail”. |
[ ] (brackets) |
When you use this wildcard, a set of characters are specified. For example, if you enter [abc]*, any string beginning with the letters “a” “b” or “c” are matched. When using brackets you can also specify a range by using the - (dash) character. For example, if you enter file[1-4], the strings “file1” “file2” “file3” and “file4” are matched. You can also specify a complement of characters to not match. For example, if you enter [!abc]*, any string that does not begin with the letters “a”, “b” or “c” are matched. |
- Once saved, exclusions are applied automatically, and all saved exclusions apply at the same time. To save and apply the exclusion, click Apply. When asked to confirm updating the exclusions, list, click Yes.
- When you are finished, click Done to return to the StorNext home page.
To delete an exclusion, click Delete to the right of the exclusion you want to delete.
Note: This particular delete function does not have a confirmation message, so be sure you want to delete an exclusion before you click Delete.
The following are some exclusion examples, including the Type selected and the string entered in the Pattern field to create the exclusion:
Exclusion | Type | Pattern |
---|---|---|
Exclude files in directories beginning with the letter x or y |
Match |
*/[xy]*/* |
Exclude files in a directory named /private/confidential |
Match Path |
/stornext/snfs1/ltfs_only/private/confidential/* |
Note: For Match Path, the full directory path must be specified.