TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


lite:volumeauto

This is an old revision of the document!


Using VolumeAuto.txt To Set Move Dates

VolumeAuto.txt uses Volume filters and date values that can be employed to overide default return dates for matched Volumes.

File Format

The file is in CSV Format, and contains the following fields:

  • Volume Filter in Customer.Media.Volume Format
  • Move Date in the following formats:
    • YYYY-MM-DD
    • *+n (where * is today, and n is an integer days offset
    • Y+n (where Y is the first day of the next year, and n is an integer years offset)
    • y+n (where y is the last day of the next year, and n is an integer years offset)
    • M+n (where M is the first day of the next month, and n is an integer months offset)
    • m+n (where m is the last day of the next month, and n is an integer months offset)
  • Description

Function

When using the Send function in Lite, Volumes will be compared to the filters contained in the VolumeAuto file.

If a matching filter is found the date will be evaluated.

if the date value is in the past the search will continue.

If the date value is in the future and is past the default date value, the move date will be overridden with the date value.

If no matching filter is found the default move date will be applied to the Volume.

Examples

All Volumes from:

  • Customer: ACME
  • Media type: DL
  • Move date: Today + 10 days
  • Description: Test Description

ACME.DL.*,*+10,Test Description 

All Volumes from:

  • Customer: all
  • Media type: DL
  • Move date: First of next year, + 7 years
  • Description: Test Description

*.DL.*,Y+7,Test Description 

All Volumes from:

  • Customer: ACME
  • Media type: DL
  • Move date: First of December 2010
  • Description: Test Description

ACME.DL.*,2010-12-01,Test Description 

lite/volumeauto.1546302136.txt.gz · Last modified: 2025/01/21 22:07 (external edit)