Ask the Community
Groups
Wildcard exclusion list - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>Wildcard exclusion list</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <h3 data-id="purpose">Purpose </h3> <p>This article discusses how the Unitrends product uses Wildcards in Windows exclusion list.</p> <h3 data-id="description">Description</h3> <p>Unitrends use <a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FGlob_%28programming%29" rel="noopener nofollow">glob wildcard</a> matching.</p> <h3 data-id="using-wildcards-in-selection-lists">Using Wildcards in Selection Lists</h3> <p>Wildcards can be used to create an inclusion or exclusion list for a defined backup schedule. The chart below provides a reference of wildcard combinations supported by the appliance. It also identifies the limitations associated with the use of these wildcards in file names, paths and other referenced items.</p> <p> </p> <table border="0" cellpadding="0" style="width: 700px; border-spacing: 0px;"><tbody><tr><td colspan="1" rowspan="1" valign="top" style="width: 77px;"> <p>Wild card</p> </td> <td colspan="1" rowspan="1" valign="top" style="width: 264px;"> <p>Inclusion list</p> </td> <td colspan="1" rowspan="1" valign="top" style="width: 258px;"> <p>Exclusion list</p> </td> </tr><tr><td colspan="1" rowspan="1" valign="top" style="width: 77px;"> <p><strong>*</strong></p> </td> <td colspan="1" rowspan="1" valign="top" style="width: 264px;"> <p>Example of how to include all files within specified path that match zero or more</p> <p>characters in the inclusion pattern</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">C:/PCBP/Lists.dir/*.spr C:/PCBP/Lists.dir/profile*.spr<br></pre> <p>Include all directories within specified path that match zero or more characters within the inclusion pattern.</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">C:/ProgramFiles/MSsqlserver/mssq* </pre> <p><br><br>Limitations:</p> <p>*.txt should not be used to back up all txt files on the system. The full path must be provided.</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">C:/*/*/abc.txt</pre> <p><br>Multiple wildcard matches like the one shown are not supported.</p> <p> </p> <p>Wildcards are not supported for Linux, Unix, and<br>CIFS/NFS NAS clients.</p> </td> <td colspan="1" rowspan="1" valign="top" style="width: 258px;"> <p>An example of how to exclude all files with zero or more characters that</p> <p>match exclusion pattern</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">*.txt</pre> <p>An example of how to exclude directories with zero or more characters and their contents within a</p> <p>specified path that match the exclusion pattern.</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">C:/windows/sys*<br>C:/PCBP/*/profile_1.spr</pre> <p>Limitations:</p> <p>*folder_abc should not be used to exclude all folders that match folder_abc on the system. The full path must be provided.</p> <p> </p> <p>If an entire directory is excluded, the directory name will still appear in the backup; however, its contents will be empty.</p> <p> </p> <p>Multiple wildcard matches like the one shown below are not supported.</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">C:/*/*/abc.txt</pre> <p>Wildcards are not supported for Linux, Unix, and<br>CIFS/NFS NAS clients.</p> <p>Only 40 wildcard exclude items are supported on Windows.</p> </td> </tr><tr><td colspan="1" rowspan="1" valign="top" style="width: 77px;"> <p><strong>?</strong></p> </td> <td colspan="1" rowspan="1" valign="top" style="width: 264px;"> <p>An example of how to include all files within specified path that match a single character within the inclusion pattern.</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">C:/Windows/Web/Wallpaper/a?.jpg</pre> <p> </p> <p>Limitations:</p> <p>When using the ? wildcard for inclusions at the end of the file name,</p> </td> <td colspan="1" rowspan="1" valign="top" style="width: 258px;"> <p>An example of how to exclude all files within specified path that matches a single character within exclusion pattern.</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">C:/PCBP/Lists.dir/profile_client?.spr</pre> <p> </p> <p>An example of how to exclude all directories and their contents within specified path that matches a single</p> </td> </tr></tbody></table><p> </p> <table border="0" cellpadding="0" style="width: 700px; border-spacing: 0px;"><tbody><tr><td colspan="1" rowspan="1" valign="top" style="width: 77px;"> <p> </p> </td> <td colspan="1" rowspan="1" valign="top" style="width: 264px;"> <p>files that end with . will not be included.</p> <p> </p> <p>For example, the file a..jpg will not be backed up.</p> <p> </p> <p>An example of how to include all directories and their contents within specified path that matches a single</p> <p>character within the inclusion pattern.</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">C:/Programfiles/Case?/</pre> </td> <td colspan="1" rowspan="1" valign="top" style="width: 258px;"> <p>character within exclusion pattern.</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">C:/Programfiles/Case?/</pre> <p><br>Limitations:</p> <p>If an entire directory is excluded, the directory name itself will still appear in the backup; however its contents will</p> <p>be empty.</p> </td> </tr><tr><td colspan="1" rowspan="1" valign="top" style="width: 77px;"> <p><strong>*,?</strong></p> </td> <td colspan="1" rowspan="1" valign="top" style="width: 264px;"> <p>An example of Inclusion lists that have multiple ? wildcards and only one * wildcard</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">C:/Log/?L*.logs</pre> <p><br>Limitation:</p> <p>Directory and file level wildcard usage within an inclusion pattern are not supported. For example C:/Log*/*.log will not receive any data for backup.</p> </td> <td colspan="1" rowspan="1" valign="top" style="width: 258px;"> <p>An example of Exclusion lists that have multiple ? wildcards and only one * wildcard</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">C:/Log?/*.logs</pre> <p><br>Limitation:</p> <p>If an entire directory is excluded, the directory name itself will still appear in the backup; however its contents will be empty.</p> </td> </tr></tbody></table><p><strong>Third-Party Resources</strong><br><a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FGlob_%2528programming%2529" rel="noopener nofollow">http://en.wikipedia.org/wiki/Glob_(programming)</a></p> </article> </main>