Yeah thanks ! I had not understood the "maximum volume" use, you're saying I've to wait 20 days from the last tape written right ? (cause there is only 1 volume in the pool ?)
I thought it was from the "last written" value of a specific tape I had to care about to reuse the same one. It's ok for the volume use duration, I understand that one ;) Number of tapes will grow up every month so I've commented the "maximum volume", restarted the backup and it looks good now. Thanks John ! (again ! ;) John M. Drescher wrote: > > On Wed, May 26, 2010 at 9:57 AM, John Drescher <dresche...@gmail.com> > wrote: >>> I've a problem (I guess) cause bacula doesn't recycle my tape, even when >>> volume retention is over. >>> >>> Here is the pool part of my bacula-dir.conf : >>> >>> # Tape Pool definition >>> Pool { >>> Name = TapePool >>> Pool Type = Backup >>> Recycle = yes # Bacula can automatically recycle >>> Volumes >>> AutoPrune = yes # Prune expired volumes >>> Volume Use Duration = 18 hours >>> Volume Retention = 20 days # one year >>> Maximum Volumes = 1 # Limit number of Volumes in Pool >>> Maximum Volume Jobs = 2 >>> Label Format = "Day-" >>> } >>> >>> Look at the tape day-20A (retention period and the last written thing) >>> http://www.flickr.com/photos/47940...@n08/4641302169/sizes/l/ >>> >>> And now look at the error (1month after the last written thing on the >>> tape, >>> bacula seems to not recycle the tape..) >>> http://www.flickr.com/photos/47940...@n08/4641307241/sizes/l/ >>> >>> >>> There is a problem, right ? >>> -- >> >> Yes there is a problem with your configuration. You have it configured >> to use only 1 volume. Write up to 2 jobs on that 1 volume then wait 20 >> days until it can be used again. I do not think this is what you want. >> > I missed the other condition. On top of a maximum of 2 jobs to a > volume you limit the volume to 18 hours of usage. So the second job > must be started within 18 hours of the first. > > John > > ------------------------------------------------------------------------------ > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- View this message in context: http://old.nabble.com/Recycling-is-not-working.-tp28680351p28681737.html Sent from the Bacula - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users