Veritas-bu

[Veritas-bu] Expiring old images/tapes

2002-08-05 10:32:15
Subject: [Veritas-bu] Expiring old images/tapes
From: DanielT AT ilx DOT com (Teklu, Daniel)
Date: Mon, 5 Aug 2002 10:32:15 -0400
In order to recycle my tapes, I expire the whole media

bpexpdate -ev media-id -d 0

then the tapes will be available for reuse , if that is what your intent is.

Daniel


-----Original Message-----
From: Chandrasekhar Kalle [mailto:ckalle AT nms.fnc.fujitsu DOT com]
Sent: Friday, August 02, 2002 6:15 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Cc: ckalle AT nms.fnc.fujitsu DOT com
Subject: [Veritas-bu] Expiring old images/tapes



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

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

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