TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:volume_filter

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
cli:volume_filter [2021/07/22 00:11] – [Command Line Volume Filter Argument] Scott Cunliffecli:volume_filter [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Command Line Volume Filter Argument ====== ====== Command Line Volume Filter Argument ======
 +
 +The Command Line Volume Filter Argument or Batch Volume filter allows you to only include the Customers, Media Types, Volumes, Repositories and Flags required for the process you are running. 
 +
 +This allows not only exclusion of unwanted data but lowers the processing time.
  
 The [[object:volume|Volume]] filter argument sets the [[object:volume|Volume]] Filter which can be used to filter the traversal of [[object:customer|Customer]], [[object:media|Media]] and [[object:volume|Volume]] values. The format of this filter is ''c.m.v@r+f'', where ''c'' is [[object:customer|Customer-ID]] filter, ''m'' is [[object:media|Media-ID]] filter, ''v'' is [[object:volume|Volume-ID]] filter, ''r'' is [[object:repository|Repository-ID]] filter and ''f'' is the [[common:volume_flags|Flag]] filter.  The [[object:volume|Volume]] filter argument sets the [[object:volume|Volume]] Filter which can be used to filter the traversal of [[object:customer|Customer]], [[object:media|Media]] and [[object:volume|Volume]] values. The format of this filter is ''c.m.v@r+f'', where ''c'' is [[object:customer|Customer-ID]] filter, ''m'' is [[object:media|Media-ID]] filter, ''v'' is [[object:volume|Volume-ID]] filter, ''r'' is [[object:repository|Repository-ID]] filter and ''f'' is the [[common:volume_flags|Flag]] filter. 
Line 20: Line 24:
 <code plain;> <code plain;>
 -V "US01.LTO.*" -V "US01.LTO.*"
 +</code>
 +
 +To process all **LTO** [[object:volume|Volumes]] for all except [[object:customer|Customer]] **US01** 
 +<code plain;>
 +-V "!(US01).LTO.*"
 +</code>
 +
 +To process all **LTO** [[object:volume|Volumes]] for all except [[object:customer|Customer]] **US01** and **US02** 
 +<code plain;>
 +-V "!(US01|US02).LTO.*"
 </code> </code>
  
cli/volume_filter.1626912715.txt.gz · Last modified: 2025/01/21 22:07 (external edit)