On 07/25/12 09:55, Sven Tegethoff wrote: > Hi everybody, > > I've tried to wrap my head around automatic volume recycling, but it > seems that my backup strategy isn't quite compatible with Bacula's > volume recycling policy, and maybe there's someone out here who knows a > solution :) > > I'm backing up multiple systems with multiple tape drives. For each > storage, I have a series of tape pools in a classic daily/weekly/monthly > backup schedule. Tapes are physically being swapped out every day and > stored off-site, which is a requirement. Now, daily tapes are supposed > to get overwritten every week, weekly tapes every month, monthly tapes > ever year. So far so good, I've got all pools set up with appropriate > retention periods so tapes get marked as recycleable in time. > > Now my problem is that bacula always leaves the last tape in > "appendable" state, and when the tape gets inserted for its next write > cycle, it will not overwrite this tape, but only append to it - even > though the retention period of the tape has expired.
Sounds so far as though what you need is "Volume Use Duration". > I thought I could solve the problem by setting the maximum volume use > time to a value that is equal to its retention time - but the volume use > time will only be updated AFTER a job has finished, and never BEFORE a > job gets started. So the first job in the new cycle will always be > appended to last week's backup, no matter what I do. Wait, you said tapes are swapped out every day. Did I misunderstand? Have you tried setting volume use duration to 24 hours? -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater It's not the years, it's the mileage. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users