How to find out number of backed up versions of all files of a node.

mohit

ADSM.ORG Member
Joined
Apr 16, 2004
Messages
24
Reaction score
0
Points
0
Website
Visit site
Hi All,



I need a select statement to know how many versions of a file are backed up currently on TSM. I need this information for all files on a node.



I have been trying on table 'BACKUPS' with group by and count etc. but no success yet. Any help is welcome.



TIA,

Mohit.. .
 
This should do it:



select HL_NAME,LL_NAME, count(OBJECT_ID) as NumberOfBackups from BACKUPS where node_name='<NODE NAME>' group by HL_NAME,LL_NAME
 
Back
Top