TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:reg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technote:reg [2026/02/17 23:44] – [How REG Matching Works] Scott Cunliffetechnote:reg [2026/02/18 00:35] (current) – [See Also] Scott Cunliffe
Line 1: Line 1:
 ====== REG Matching  ====== ====== REG Matching  ======
 +
 +<note warning>Changes made to the Windows registry happen immediately, and no backup is automatically made. Do not edit the Windows registry unless you are qualified and confident about doing so. \\
 + \\
 +Microsoft have issued the following warning with respect to the Registry Editor: \\
 +//"Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to re-install Windows to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk."//</note>
  
 TapeTrack supports matching against a list of patterns stored in the Windows Registry using the special filter prefix: TapeTrack supports matching against a list of patterns stored in the Windows Registry using the special filter prefix:
  
 ''*REG:registry_value_name'' ''*REG:registry_value_name''
 +  * Registry key name
  
 This allows a filter field to be compared against multiple patterns defined centrally in the Windows Registry. This allows a filter field to be compared against multiple patterns defined centrally in the Windows Registry.
Line 23: Line 29:
   * stop as soon as a match is found   * stop as soon as a match is found
  
 +===== Registry Backup =====
 +<note important>Backup the registry before any making any modifications</note>
  
 +Open regedit and create registry backup by right-clicking the top of the registry tree and selecting Export and saving to an appropriate location.
 +
 +{{:master:tapemaster_registry_backup.png}}
 ===== Registry Location ===== ===== Registry Location =====
  
Line 32: Line 43:
 Each registry value under this key represents a reusable filter list. Each registry value under this key represents a reusable filter list.
  
-===== Example: Description Field Filtering =====+<note>If the Key Lists does not exist, it will need to be added in the location  
 +HKEY_CURRENT_USER\Software\GazillaByte\TapeTrack\Lists</note>
  
-Assume the TapeMaster Description field contains values similar to:+===== Example =====
  
-<code> Production database weekly backup Prod DB full backup Production export dump PRD database BKP Development database backup Weekly archive - finance system Prod data backup set </code>+Example set of Description values for Volumes in TapeMaster: 
 + 
 +Production database weekly backup \\ 
 +Prod DB full backup \\ 
 +Prod data backup set \\ 
 +Production export dump \\ 
 +Development database backup \\ 
 +Weekly archive - finance system \\
  
 ==== Example Registry Value ==== ==== Example Registry Value ====
Line 48: Line 67:
 <code> ProdFilters </code> <code> ProdFilters </code>
  
-With the following data (semicolon-separated):+With the following data (semicolon-separated, no spaces):
  
-<code> *prod*;*PRD*;*production* </code>+<code>*prod*;*PRD*;*production* </code>
  
 +{{reg_filter_keys.png}}
 ==== Using the REG Filter in TapeMaster ==== ==== Using the REG Filter in TapeMaster ====
  
 To filter the Description field using the registry list: To filter the Description field using the registry list:
  
-<code> *REG:ProdFilters </code>+<code> *REG:ProdFilter </code> 
 + 
 +{{reg_filter_prod.png}}
  
 This will match any Description containing: This will match any Description containing:
  
-"prod" +  * prod 
- +  PRD 
-"PRD+  production
- +
-"production"+
  
 ===== Expected Matching Results ===== ===== Expected Matching Results =====
Line 70: Line 90:
 Using the filter: Using the filter:
  
-<code> *REG:ProdFilters </code>+<code> *REG:ProdFilter </code>
  
 The following descriptions would typically match: The following descriptions would typically match:
  
-Production database weekly backup +Production database weekly backup \\ 
- +Prod DB full backup \\ 
-Prod DB full backup +Production export dump \\ 
- +PRD database BKP \\ 
-Production export dump +Prod data backup set \\
- +
-PRD database BKP +
- +
-Prod data backup set+
  
 The following descriptions would typically not match: The following descriptions would typically not match:
  
-Development database backup +Development database backup \\ 
- +Weekly archive - finance system \\
-Weekly archive - finance system+
  
 ===== Using Wildcards in REG Values ===== ===== Using Wildcards in REG Values =====
Line 107: Line 122:
  
 REG filtering is especially useful in environments where: REG filtering is especially useful in environments where:
 +  * administrators want centrally managed filter sets
 +  * users should not modify external files
 +  * reusable filter definitions are required across multiple tools
  
-administrators want centrally managed filter sets+REG filtering provides a centralized, reusable method of matching a field against multiple wildcard patterns stored in the Windows Registry.  It behaves the same as LIST filtering, but stores the pattern list inside:
  
-users should not modify external files+<code> HKEY_CURRENT_USER\Software\GazillaByte\TapeTrack\Lists </code>
  
-reusable filter definitions are required across multiple tools+This makes it ideal for controlled environments where filter rules need to be maintained per user or workstation.
  
-===== Summary ===== 
  
-REG filtering provides a centralised, reusable method of matching a field against multiple wildcard patterns stored in the Windows Registry.+=====See Also=====
  
-It behaves the same as LIST filtering, but stores the pattern list inside:+[[general:pattern_matching|pattern matching]] \\ 
 +[[technote:list|LIST Matching \\ 
 +[[technote:FUZZY|FUZZY Matching]] \\
  
-<code> HKEY_CURRENT_USER\Software\GazillaByte\TapeTrack\Lists </code> 
  
-This makes it ideal for controlled environments where filter rules need to be maintained per user or workstation.+{{tag> technote pattern string}}
technote/reg.1771371889.txt.gz · Last modified: 2026/02/17 23:44 by Scott Cunliffe