• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

How to list the files on a tape with their backup dates/times?

ldmwndletsm

ADSM.ORG Member
Can anyone provide me with a query to list the contents of a volume and include the backup dates/times for each file?

A `q content volume`, with or without format=detailed, would give me the NODE_NAME, Filespace Name, 'Client's Name for File' and FSID but no backup date. From the second and third fields, I could construct the values for HL_NAME and LL_NAME, and I could then do a query on the backups table for the matching NODE_NAME, HL_NAME, LL_NAME and FILESPACE_ID and then get the BACKUP_DATE ... maybe???

BUT:

1. How do I know that the matching entry in the backups table corresponds to the entry in the `q content volume`? It might not be the correct one even though the FILESPACE_ID, HL and LL_ NAME matches, right? There could be different versions of the file on different volumes.

2. Even if this works, this seems ridiculous. There must be a faster and more efficient way to do this?
 

marclant

ADSM.ORG Moderator
Join the CONTENTS and the BACKUPS table on the OBJECT_ID field, that will ensure it's the same object.
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 18 18.4%
  • Keep using TSM for Spectrum Protect.

    Votes: 60 61.2%
  • Let's be formal and just say Spectrum Protect

    Votes: 12 12.2%
  • Other (please comement)

    Votes: 8 8.2%

Forum statistics

Threads
31,716
Messages
135,195
Members
21,721
Latest member
abucci63
Top