Once the file-volume has been purged/pruned/recycled, the next job that uses it theoretically opens it for write/overwrite at 0-byte descriptor.
Its just a PITA waiting for that -- of course if it was a real tape, it would have to "mt erase" the volume, but for virtual tape files, a feature to zero the file at purge/expire would be nice. ~BAS ~BAS On Fri, 2007-06-29 at 15:11 -0700, Optik Overdose wrote: > Oh whoops I overlooked that, that was dumb. So is there a way to make Bacula > just delete the volume after the retention period has expired instead of > reusing it? 'Recycle=No' just leaves the file there doesnt it? then I get > into the same situation. > > John > > > ----- Original Message ---- > From: Arno Lehmann <[EMAIL PROTECTED]> > To: bacula-users@lists.sourceforge.net > Sent: Friday, June 29, 2007 2:17:31 PM > Subject: Re: [Bacula-users] Bacula doesnt recycle and/or hangs > > Hi, > > 29.06.2007 22:09,, Optik Overdose wrote:: > > I'm running Bacula 2.03 on a Fedora 5 x86 system. For test purposes > > I only have one client configured and the /etc directory being > > backed up to a SATA hard drive in the system. I have set the > > backups to run every 10min and I set max volumes to 24, > > Thanks - finally (again) a usable overview of your system in an error > report! > > > so that > > should be 6 hours of backup and then it should start recycling the > > volumes as I understand it. > > Yes and no. > Your configuration looks a bit different, but that's not important > here :-) > > The main thing is this: > <big snip> > > > Pool { > > Name = Wkst09-Inc-Pool > > Pool Type = Backup > > Recycle = yes # automatically recycle Volumes > > AutoPrune = yes # Prune expired volumes > > Volume Retention = 30 days > > Maximum Volume Jobs = 6 # 5 Inc jobs in 1 volume > > Maximum Volumes = 4 # Theres only 4 weeks(1vol = 1week) > > LabelFormat = > > "Wkst09-Inc-Started-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${JobId}" > > } > > You set up the pool to automatically create up to four volumes. > You allow six jobs per volume. > You can store 24 jobs in this pool. > You run four jobs per hour to this pool. > > The pool is full after six hours. > The first volume can be recycled 30 days (Volume Retention) after it > was last written. > > Everything clear now? > > For your case, I'd suggest to set the retention time to 4.5 hours, > reload the director's configuration, update the volumes to reflect the > new default settings, and see what happens. > > Arno > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users