Veritas-bu

[Veritas-bu] Expiring old images/tapes

2002-08-02 23:07:42
Subject: [Veritas-bu] Expiring old images/tapes
From: MarelP AT AUSTRALIA.Stortek DOT com (Marelas, Peter)
Date: Sat, 3 Aug 2002 13:07:42 +1000
This should work but no guarantee.

Compare:

bpimagelist -media -d 01/01/1970

With:

vmquery -a -bx

Tapes listed in vmquery that are "assigned" but not listed in bpimagelist
could be recycled.

Regards
Peter Marelas


-----Original Message-----
From: Chandrasekhar Kalle [mailto:ckalle AT nms.fnc.fujitsu DOT com] 
Sent: Saturday, 3 August 2002 8:15 AM
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>