Veritas-bu

Re: [Veritas-bu] Change retention in all tapes in a policy

2007-10-01 12:16:36
Subject: Re: [Veritas-bu] Change retention in all tapes in a policy
From: "Major, Rusty" <RMajor AT vericenter DOT com>
To: <VERITAS-BU AT mailman.eng.auburn DOT edu>
Date: Mon, 1 Oct 2007 10:57:54 -0500
You can force the cleanup by doing:
bpimage -cleanup -allclients
 
And, it seems to me that you are changing ALL backups done by policy "Users" to retention level 8. If you have more than one schedule in this policy, they've all been changed to 1 year retention. So, if you have a daily backup you keep for two weeks, it is now at 1 year retention.
 
Also, reading your email I noticed a possible typo. Your explanation said you created a custom retention level 6, but your command copy/paste said it was rl 8. Which is it? This could be a big difference, as in 1 year versus infinity! It might be wise to double check all of these images/tapes to see what really happened.
 
-Rusty


From: veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Tim Hoke
Sent: Monday, October 01, 2007 8:20 AM
To: bobbyrjw AT comcast DOT net
Cc: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Change retention in all tapes in a policy

You're also just changing a reference in the imageDB.  Once your image/tape cleanup runs, the images will be removed and the tapes will be moved to scratch if they are now empty and actually came from scratch.

HTH
-Tim

On 10/1/07, Bobby Williams <bobbyrjw AT comcast DOT net> wrote:
You are changing the retention based on the policy.  You may have backups
from other policies on the tape with the 2 year retention.

You may also want to ensure that the tapes "came" from the scratch pool.
They may be showing as not assigned in a pool other than scratch.






Bobby Williams
2205 Peterson Drive
Chattanooga, Tennessee  37421
423-296-8200

-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu ] On Behalf Of osonder
Sent: Monday, October 01, 2007 8:37 AM
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Change retention in all tapes in a policy


Hello

I have a policy with name Users. I now want to change retention to all tapes
in this policy from 2, to 1 year. (I have a custom retention for 2 years as
retention level 6)

I used the command:
bpexpdate -policy Users -recalculate -ret 8

Then I get a warning:
Are you SURE you want to recalculate expiration dates on all images that
meet the following criteria:
policy       Users
retention will be changed to 8(1 year)

Continue?(y/n)

I answers Yes, and the system seems to process for some minutes.

After this I check if this have moved tapes to Scratch, but no. Beacuse this
should have realeased a lot of tapes, and moved it to scratch pool.

Is it something I missing here? Do I have to manually change retention on
every tape?

+----------------------------------------------------------------------
|This was sent by oson AT fredrikstad.kommune DOT no via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------


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

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

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