TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:volume_filter

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 Volume filter argument sets the Volume Filter which can be used to filter the traversal of Customer, Media and Volume values. The format of this filter is c.m.v@r+f, where c is Customer-ID filter, m is Media-ID filter, v is Volume-ID filter, r is Repository-ID filter and f is the Flag filter.

If the -V filter is not assigned a value it assumes the default of -V “*.*.*” which will, by use of wild card value, include all Volumes. Each of the values within the filter can be left as a wild card or assigned a value.

Examples

To process all Volumes only in Repository ACME

 -V "*.*.*@ACME"

To process all Volumes not in Repository ACME

 -V "*.*.*@!(ACME)"

To process all LTO Volumes for Customer US01

-V "US01.LTO.*"

To process all LTO Volumes for all except Customer US01

-V "!(US01).LTO.*"

To process all LTO Volumes for all except Customer US01 and US02

-V "!(US01|US02).LTO.*"

To process all LTO Volumes for Customer US01 in repository ACME with an encrypted flag

-V "US01.LTO.*@ACME+E"

To process all LTO Volumes in the offsite Repository that are Scratch and not Encrypted.

-V "*.LTO.*@OFFS+Z!E"
cli/volume_filter.txt · Last modified: 2022/08/01 01:39 by scunliffe