06.11.2014 Views

IBM Tivoli Storage Manager for Windows Backup-Archive Clients ...

IBM Tivoli Storage Manager for Windows Backup-Archive Clients ...

IBM Tivoli Storage Manager for Windows Backup-Archive Clients ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

[]<br />

To specify files and directories in include and exclude statements, you must use<br />

the escape character "\" to specify the wildcards. However, the escape character<br />

can only be used inside the character classes "[]".<br />

The following examples illustrate how to specify files and directories that contain<br />

wildcard characters using the escape character and character classes in<br />

include-exclude statements.<br />

To exclude the single directory C:\[dir2] from backup processing, enter the<br />

following in the dsm.opt file:<br />

exclude.dir "C:\[\[]dir2[\]]"<br />

To exclude the single file C:\file[.txt from backup processing, enter the<br />

following in the dsm.opt file:<br />

exclude.dir "C:\file[\[].txt"<br />

Tip: If you use the Preferences Editor to include or exclude a single file or<br />

directory that contains wildcard characters, you must manually edit the include or<br />

exclude statement to escape the wildcard characters. The Preferences Editor does<br />

not automatically escape the wildcard characters. Follow the previous examples to<br />

edit the include or exclude statements in the dsm.opt file or the include-exclude<br />

file.<br />

Related concepts<br />

“Wildcard characters” on page 528<br />

Include and exclude groups of files with wildcard characters<br />

You can use wildcard characters to include or exclude groups of files.<br />

To specify groups of files that you want to include or exclude, use the wildcard<br />

characters listed in the following table. This table applies to include and exclude<br />

statements only.<br />

A very large include-exclude list can decrease backup per<strong>for</strong>mance. Use wildcards<br />

and eliminate unnecessary include statements to keep the list as short as possible.<br />

Table 12. Wildcard and other special characters<br />

Character Function<br />

? The match one character matches any single character except the directory<br />

separator; it does not match the end of the string. For example:<br />

v The pattern ab?, matches abc, but does not match ab, abab, or abzzz.<br />

v The pattern ab?rs, matches abfrs, but does not match abrs, or abllrs.<br />

v The pattern ab?ef?rs, matches abdefjrs, but does not match abefrs, abdefrs,<br />

or abefjrs.<br />

v The pattern ab??rs, matches abcdrs, abzzrs, but does not match abrs, abjrs,<br />

or abkkkrs.<br />

76 <strong>IBM</strong> <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong> <strong>for</strong> <strong>Windows</strong> <strong>Backup</strong>-<strong>Archive</strong> <strong>Clients</strong>: Installation and User's Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!