Don't over think it. Remember, information about volumes is in the database
too and really, the only volume history record you are concerned about is
the one indicating the most recent db backup tape. I routinely run, like
daily, a delete volhist type=all todate=today-30.
Kelly J. Lipp
Storage Solutions Specialists, Inc.
PO Box 51313
Colorado Springs CO 80949-1313
(719) 531-5926
Fax: (240) 539-7175
Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
www.storsol.com
www.storserver.com
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of
Brazner, Bob
Sent: Wednesday, April 11, 2001 8:26 AM
To: [EMAIL PROTECTED]
Subject: Question on del volhist
Subject: Question
on del volhist
Attachment(s): <font
size=-1></font>
My vol history for stgnew and stgdelete goes back to the beginning of time.
I'd like to use Del Volhist to get rid of records that aren't needed any
more. but I can't see how to do this without possibly corrupting the vol
history. If I understand things correctly, if a tape is in stgdelete
status as of a given point in time (let's say 30 days ago), then I should
be able to delete all stgnew and stgdelete records prior to that time,
right? However, if a tape is in stgnew status at that time, then I better
not do any deletes using that time, right? So, how do I construct my Del
Volhist command(s) to make such dynamic decisions for every volume in the
volhistory? Note, we have DRM, so dbbackup entires are not a problem.
System is TSM 4.1.2 on AIX 4.3.3.
Bob Brazner
Johnson Controls, Inc.
(414) 524-2570
(Embedded image moved to file: pic08360.pcx)