Veritas-bu

[Veritas-bu] Changing retention levels for full tapes.

2005-08-12 16:28:48
Subject: [Veritas-bu] Changing retention levels for full tapes.
From: aaron.mills AT returnpath DOT net (Aaron Mills)
Date: Fri, 12 Aug 2005 14:28:48 -0600
It looks like this was exactly the problem. When I run: 

bpimmedia -policy foobar -L

I see that each image has the correct expiration date and a retention level of 
10 (68 Weeks).

The reason no media went back into my scratch pool was because all tapes 
contain backups less
than 68 weeks old. Thanks for all your help.

        -Aaron
 

-----Original Message-----
From: Tim Hoke [mailto:thoke AT northpeak DOT org] 
Sent: Friday, August 12, 2005 1:19 PM
To: Aaron Mills
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Changing retention levels for full tapes.

Take a look at the following TechNote to see if that helps any:

http://support.veritas.com/docs/272687

If I recall correctly, the particular image will show the correct
(updated) retention.  However, the expiration date won't be made any 
sooner for the tape itself.   THis prevents NBU from accidentally 
removing the tape when there are still valid images associated with it. 
  On the other hand, if all the images are removed before that expiration date 
is hit, the tape will get cleaned up.

HTH
-Tim

On Aug 12, 2005, at 1:12 PM, Aaron Mills wrote:

> I'm hoping one of you might be able to tell me what I'm doing wrong.
>
> We currently have a policy with an retention level of infinity (9). We 
> want to change this to 68 weeks.
>
> In bpadm I've set retention level 10 to 68 weeks, changed the foobar 
> policy to use level 10. Now I want to change all the tapes/images in 
> foobar's volume pool to 68 weeks. I ran the
> following:
>
> sudo bpexpdate -recalculate -policy foobar -ret 10
>
> But when I run the  bpmedialist or available_media commands, 
> everything is still showing up as retention level 9. Any ideas how I 
> can set these tapes to a 68 week retention period?
>
> Thanks.
>
>         -Aaron
>
> Aaron Mills
> System Administrator
> Return Path, Inc
> 303.642.4111
> aaron.mills AT returnpath DOT net
> http://www.returnpath.net