Re: [Bacula-users] Don't understant recycling and Scratch pool

2008-11-13 Thread LeJav
In fact, my initial configuration was not correct. The RecyclePool=Scratch directive must be specified in the Scratch pool section. If I purge a tape, it is automatically moved to the Scratch pool. But the tape is never moved to the Scratch pool after a retention period. I have to purge it manually

Re: [Bacula-users] Don't understant recycling and Scratch pool

2008-11-13 Thread Attila Fülöp
James Cort wrote: > Attila Fülöp wrote: >>> You can use "RecyclePool = Scratch" in the pool resource: >>> >>> RecyclePool = On versions 2.1.4 or greater, >>> this directive defines to which pool the Volume will be placed > (moved) >>> when it is recycled. >>> > > Well, you learn something

Re: [Bacula-users] Don't understant recycling and Scratch pool

2008-11-13 Thread Attila Fülöp
LeJav wrote: > The problem is that the variable RecyclePoolId is not set for the media. > If I execute "update volume" for all the volumes of the pool, the > RecyclePoolId > field is well set, and recycling works fine > It seems there is a bug... Nope, this is by design. If you change a pools d

Re: [Bacula-users] Don't understant recycling and Scratch pool

2008-11-13 Thread LeJav
The problem is that the variable RecyclePoolId is not set for the media. If I execute "update volume" for all the volumes of the pool, the RecyclePoolId field is well set, and recycling works fine It seems there is a bug... --

Re: [Bacula-users] Don't understant recycling and Scratch pool

2008-11-13 Thread LeJav
I have defined it in the pool Pool { Name = System Recycle = yes AutoPrune = yes Volume Retention = 1 days 1 hour # for tests RecyclePool = Scratch } but tapes never go automatically to Scratch pool after the retention period. I will check source code to understand... >> > You can use

Re: [Bacula-users] Don't understant recycling and Scratch pool

2008-11-13 Thread James Cort
Attila Fülöp wrote: > > You can use "RecyclePool = Scratch" in the pool resource: > > > > RecyclePool = On versions 2.1.4 or greater, > > this directive defines to which pool the Volume will be placed (moved) > > when it is recycled. > > Well, you learn something every day. I'm not clear

Re: [Bacula-users] Don't understant recycling and Scratch pool

2008-11-13 Thread Attila Fülöp
James Cort wrote: > LeJav wrote: >> Any explanation on the recycle mechanism is welcome ! > > The scratch pool is only used for newly labelled volumes. If there are > no spare tapes in the pool that the current backup is taking place on, > Bacula will look to see if it can take one from the scrat

Re: [Bacula-users] Don't understant recycling and Scratch pool

2008-11-13 Thread James Cort
LeJav wrote: > Any explanation on the recycle mechanism is welcome ! The scratch pool is only used for newly labelled volumes. If there are no spare tapes in the pool that the current backup is taking place on, Bacula will look to see if it can take one from the scratch pool. It won't look for v

Re: [Bacula-users] Don't understant recycling and Scratch pool

2008-11-13 Thread LeJav
Any explanation on the recycle mechanism is welcome ! LeJav a écrit : > Hello, > > I have done several tests and I don't understand well the recycling to the > Scratch pool. > According to the documentation and my tests, the recycling occurs only when a > job > needs a tape and there is no o

[Bacula-users] Don't understant recycling and Scratch pool

2008-11-12 Thread LeJav
Hello, I have done several tests and I don't understand well the recycling to the Scratch pool. According to the documentation and my tests, the recycling occurs only when a job needs a tape and there is no one appendable in the pool. In this case, it will try to recycle a tape (from the sam