Actually ignore the "vmquery ..." portion below. Forgot this is has been depricated in current releases and is handled by the "bpexpdate" utility.
-John On 03/18/2011 01:29 PM, John Meyers wrote: > 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 - Veritasfirstname.lastname@example.org >> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu > _______________________________________________ > Veritas-bu maillist - Veritasemail@example.com > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu -- John Meyers Lead Systems Programmer Wright State University Dayton, Ohio. Voice: 937-775-3580 _______________________________________________ Veritas-bu maillist - Veritasfirstname.lastname@example.org http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu