Re: [Bacula-users] Re cycling not working.

2010-05-31 Thread Dan Langille
On 5/26/2010 8:50 AM, gnowar wrote:

 Hey,

 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 ?

No.  Bacula is doing as instructed.

Read more on recycling. Bacula will not recycle tapes if it can write to 
another tape instead.

-- 
Dan Langille - http://langille.org/

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re cycling not working.

2010-05-31 Thread John Drescher
On Mon, May 31, 2010 at 10:46 PM, Dan Langille d...@langille.org wrote:
 On 5/26/2010 8:50 AM, gnowar wrote:

 Hey,

 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 ?

 No.  Bacula is doing as instructed.

 Read more on recycling. Bacula will not recycle tapes if it can write to
 another tape instead.


Good point. That makes sense. When I answered that question last week
I was more hung up on Maximum Volumes =1 with many volumes created..

John

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users