Veritas-bu

[Veritas-bu] Expiring old images/tapes

2002-08-02 18:15:04
Subject: [Veritas-bu] Expiring old images/tapes
From: Chandrasekhar Kalle <ckalle AT nms.fnc.fujitsu DOT com> (Chandrasekhar Kalle)
Date: Fri, 02 Aug 2002 15:15:04 -0700 (PDT)
In an attempt to expire some old images and 
corresponding tapes and reduce the database
size and get back some tapes for recycling,
I did the following...

bpimagelist -client <client> -idonly 
-d <start date> -e <end date> 

>From the list of images generated by the
above, I picked a few that we could safely
delete and ran bpexpdate against each image:

bpexpdate -backupid <backup id> -d 0 -force

The above deleted the images, and database
size went down. But, the tapes that contained
the images were not expired or freed up
automatically (I thought that when the backup
image on a tape expires, Netbackup will
deassign the tape and the tape can be recycled).

So now I have a whole bunch of tapes that
can be recycled because the images on those
tapes have been deleted, but I dont know the
IDs. How do I get the IDs ?

bpimmedia -client <client> -d <start> -e <end>
will only show the tapes with images that
exist, not those that have been deleted...

Before I deleted the images, bpimagelist -media 
-client <client> -d <start> -e <end> showed 
the tape IDs of the backup images, but I
did not save the output.....

Any ideas ?

Thanks in advance,

Chandra


<Prev in Thread] Current Thread [Next in Thread>