Veritas-bu

Re: [Veritas-bu] media expiration as of Start Time.

2011-03-18 13:29:25
Subject: Re: [Veritas-bu] media expiration as of Start Time.
From: John Meyers <john.meyers AT wright DOT edu>
To: Harpreet SINGH <harpreet_singh AT ctl.creative DOT com>
Date: Fri, 18 Mar 2011 13:29:21 -0400
If the intent is to re-use the same set of tapes, you'd could either set
the retention period to something less than 3 weeks (e.g. 19 days) or
manually expire the images on the tapes prior starting the next backup.
The later could be done using a combination of the 'bpexpdate' and
'vmquery' utilities.

Something like,

      bpexpdate -m $media_id -d 0 -force
      vmquery -deassignbyid $media_id 2 0

This could probably be scripted with a bpstart_notify.<policy_name> script
if you knew which tapes you would be using.

-John

On 03/18/2011 12:14 PM, Harpreet SINGH wrote:
> 
> Dear All,
> 
> Please advise.. Our some of the big size backup's taking 18 hours to
> complete and these backups spans to 4-5 Tapes.
> 
> The issue is all the Backup (4-5) Tapes have different expiration time.
> Assume my backup start at 01:00 am and it takes 18 hours to complete. I
> have the backup retention policy to 3 weeks.
> Once the tapes are back after 3 weeks I can see the data expiration is as
> of 18:00 hours... etc... where my backup will start at 01:00 am  and it
> will fail with error 96.
> 
> Please advise how I can expire the backup images before the next  Backup
> Start Time..
> 
> With Warm Regards
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Harpreet Singh Chana
> 
> Phone  :     (O) 6895 - 4326
> Fax       :     (O) 6895 - 4991
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> ** Please do not print this email unless it is absolutely necessary.
> 
> Notice
> The information in this message is confidential and may be legally
> privileged.  It is intended solely for the addressee.  Access to this
> message by anyone else is unauthorized.  If you are not the intended
> recipient,  any disclosure,  copying or distribution of the message,  or
> any action taken by you in reliance on it,  is prohibited and may be
> unlawful.  If you have received this message in error,  please delete it
> and contact the sender immediately.  Thank you.
> 
> 
> _______________________________________________
> 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

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