Thanks for the tip; I'll change some settings and see how it goes. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Raubenheimer Sent: Wednesday, March 08, 2006 17:14 To: Jeremy Koppel Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Retention / recycling clarification
Hi, as long as bacula finds appendable volumes it tries to append to them. The volume retention period begins when the volume status changes from append to whatever. Add eg. Volume Use Duration = 20 hours to the pool resource and bacula will change status from appendable to used 20 hours after first use. After the volume status has changed the volume retention period begins. Regards Helmut Jeremy Koppel schrieb: > Hello, > > > > I'm getting some behavior I didn't expect while trying to > set up a rotation schedule for one of the sites I manage. They have a > single server with a single VS160 tape drive. I have it run a full > backup early Thursday and incrementals fri-wed; and have 2 tapes per > pool, which I plan to rotate. Config is below. > > > > Trouble is, from the 'list volumes' command, it looks like > Bacula will want to append to the DailyA1 tape, instead of rewinding the > tape and overwriting it from scratch. And I actually had that happen at > our main site, too; it kept appending until the backup failed in the > middle, asking for a new tape. How do I get it to really recycle the tape? > > > > > > Thanks! > > > > --Jeremy Koppel > > > > > > > > *_Shortened output from 'list volumes':_* > > +---------+------------+-----------+----------------+----------+-------- ------+---------+------+-----------+-----------+---------------------+ > > | mediaid | volumename | volstatus | volbytes | volfiles | > volretention | recycle | slot | inchanger | mediatype | lastwritten | > > +---------+------------+-----------+----------------+----------+-------- ------+---------+------+-----------+-----------+---------------------+ > > | 1 | DailyA1 | Append | 33,101,955,019 | 46 | > 777,600 | 1 | 0 | 1 | VS160 | 2006-03-01 > 01:00:32 | > > > > > > *_Config:_* > > *_ _* > > # ************************* Schedules ************************* > > Schedule { > > Name = "BiweeklyCycle" > > Run = Level=Full Pool=Weekly thu at 1:00 > > Run = Level=Incremental Pool=Daily fri-wed at 1:00 > > } > > > > > > # *************************** Pools *************************** > > Pool { > > Name = Daily > > Pool Type = Backup > > Recycle = yes > > AutoPrune = yes > > Volume Retention = 9 > > Accept Any Volume = yes > > } > > > > Pool { > > Name = Weekly > > Pool Type = Backup > > Recycle = yes > > AutoPrune = yes > > Volume Retention = 9 days . > > Accept Any Volume = yes > > } > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmdÿk&kid0944&bid$1720&dat1642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users