TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:list_added_at_repository

This is an old revision of the document!


Volumes Added Within A Defined Date Range, Currently Located In A Selected Repository

Listing all volumes added to TapeTrack within a defined range of dates and currently located within a selected repository is a two step process.

You must first extract an inventory listing of all volumes added between the specified range of dates. Then use that file to compare against a listing of all volumes located in the selected repository and extract all volumes that appear in both inventories and export to file.

Extracting An Inventory Of Volumes Added Within A Defined Date Range

Using the command line program TMSS10ListHistory, along with the attributes:

  • -S user:-password@server for logon access
  • -R “YYYY-MM-DD:YYYY-MM-DD” to specify the date range
  • -t “*Added*” to only extract volume added records
  • -V “CUST.MEDIA.*” to limit customer and media types extracted if required

Output from this process needs to be captured and written to file using stdout.

To extract all volumes added between the start of the year 2000 and the end of 2010 and write to file historyOut.txt

TMSS10ListHistory -S user:-password@server -R "2000-01-01:2010-12-31" -t "*Added*" -V "*.*.*" > historyOut.txt
cli/list_added_at_repository.1516662816.txt.gz · Last modified: 2025/01/21 22:07 (external edit)