Re: [Bacula-users] File volumes doesnt reach Maximun volumes

2010-04-27 Thread Mike Holden
Jorge Cabello wrote:
 Hello,

 I'm having problems backing up to files in a hard drive.

 I'm using 3 pools: full, differential and incremental. All of the
 with:
 maximum volume jobs = 1
 Volume Retention = 1 month
 AutoPrune = yes
 Recycle = yes
 MaximumVolumeJobs = 1
 RecycleOldestVolume = yes

 Full Pool (1st of each month): Maximum volumes = 2
 Differential Pool (15th of each month):Maximum volumes = 2
 Incremental Pool (not 1st or 15th): Maximun Volumes = 45

 My problem is that the incremental pool does not grow above 30
 volumes. As I
 have read the number of volumes should be increasing till Maximum
 volumes limit
 is reached, right?

 Incremental pool:
 # show pool=XXXIncremental
 Pool: name=XXXIncremental PoolType=Backup
   use_cat=1 use_once=0 cat_files=1
   max_vols=48 auto_prune=1 VolRetention=1 month 1 day
   VolUse=0 secs recycle=1
 LabelFormat=${Job}_Inc_${Day:p/2/0/r}-${Month:p/2/0/r}-${Year}
   CleaningPrefix=*None* LabelType=0
   RecyleOldest=1 PurgeOldest=0
   MaxVolJobs=1 MaxVolFiles=0 MaxVolBytes=0
   MigTime=0 secs MigHiBytes=0 MigLoBytes=0

 Thanks.

If I read that right, you have retention set to 1 month as well, so
it will recycle after one month! Recycling happens at the first
limit reached, so 1 month happens before 45 volumes.
-- 
Mike Holden

http://www.by-ang.com - the place to shop
for all manner of hand crafted items,
including Jewellery, Greetings Cards and Gifts


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


Re: [Bacula-users] File volumes doesnt reach Maximun volumes

2010-04-27 Thread francisco javier funes nieto
Do you change some Pool parameters without update pool from bconsole?

this : max_vols=48 differs your Incremental pool config.


2010/4/27 Jorge Cabello jo...@aspl.es:
 Hello,

 I'm having problems backing up to files in a hard drive.

 I'm using 3 pools: full, differential and incremental. All of the with:
 maximum volume jobs = 1
 Volume Retention = 1 month
 AutoPrune = yes
 Recycle = yes
 MaximumVolumeJobs = 1
 RecycleOldestVolume = yes

 Full Pool (1st of each month): Maximum volumes = 2
 Differential Pool (15th of each month):Maximum volumes = 2
 Incremental Pool (not 1st or 15th): Maximun Volumes = 45

 My problem is that the incremental pool does not grow above 30 volumes. As I
 have read the number of volumes should be increasing till Maximum volumes 
 limit
 is reached, right?

 Incremental pool:
 # show pool=XXXIncremental
 Pool: name=XXXIncremental PoolType=Backup
      use_cat=1 use_once=0 cat_files=1
      max_vols=48 auto_prune=1 VolRetention=1 month 1 day
      VolUse=0 secs recycle=1
 LabelFormat=${Job}_Inc_${Day:p/2/0/r}-${Month:p/2/0/r}-${Year}
      CleaningPrefix=*None* LabelType=0
      RecyleOldest=1 PurgeOldest=0
      MaxVolJobs=1 MaxVolFiles=0 MaxVolBytes=0
      MigTime=0 secs MigHiBytes=0 MigLoBytes=0

 Thanks.

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




-- 
_

Francisco Javier Funes Nieto [esen...@gmail.com]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002

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


Re: [Bacula-users] File volumes doesnt reach Maximun volumes

2010-04-27 Thread Matija Nalis
On Tue, Apr 27, 2010 at 11:36:34AM +0200, Jorge Cabello wrote:
 I'm using 3 pools: full, differential and incremental. All of the with:
 Volume Retention = 1 month
 RecycleOldestVolume = yes
 
 Full Pool (1st of each month): Maximum volumes = 2
 Differential Pool (15th of each month):Maximum volumes = 2
 Incremental Pool (not 1st or 15th): Maximun Volumes = 45
 
 My problem is that the incremental pool does not grow above 30 volumes. As I 
 have read the number of volumes should be increasing till Maximum volumes 
 limit 
 is reached, right?

If I'm correct, it is probably due to volume retention of 1 month -
after one month, the oldest volume will be recycled. 

It will never go *above* 45, even if you increase retention (in that
case it will stop and ask operator to insert/label new empty volumes)

Note that retention does not directly influence data on tape, but
just the catalog database; so you could still bscan(8) old tapes and
get data back in the catalog - it is only when those volumes finally
get used again that the old data will be destroyed.

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


Re: [Bacula-users] File volumes doesnt reach Maximun volumes

2010-04-27 Thread Jorge Cabello
I thought new files were created until Maximum volumes limit was reached.

I will modify the volume retention.

Thanks.


On Martes, 27 de Abril de 2010 12:04:03 Mike Holden wrote:
 Jorge Cabello wrote:
  Hello,
 
  I'm having problems backing up to files in a hard drive.
 
  I'm using 3 pools: full, differential and incremental. All of the
  with:
  maximum volume jobs = 1
  Volume Retention = 1 month
  AutoPrune = yes
  Recycle = yes
  MaximumVolumeJobs = 1
  RecycleOldestVolume = yes
 
  Full Pool (1st of each month): Maximum volumes = 2
  Differential Pool (15th of each month):Maximum volumes = 2
  Incremental Pool (not 1st or 15th): Maximun Volumes = 45
 
  My problem is that the incremental pool does not grow above 30
  volumes. As I
  have read the number of volumes should be increasing till Maximum
  volumes limit
  is reached, right?
 
  Incremental pool:
  # show pool=XXXIncremental
  Pool: name=XXXIncremental PoolType=Backup
use_cat=1 use_once=0 cat_files=1
max_vols=48 auto_prune=1 VolRetention=1 month 1 day
VolUse=0 secs recycle=1
  LabelFormat=${Job}_Inc_${Day:p/2/0/r}-${Month:p/2/0/r}-${Year}
CleaningPrefix=*None* LabelType=0
RecyleOldest=1 PurgeOldest=0
MaxVolJobs=1 MaxVolFiles=0 MaxVolBytes=0
MigTime=0 secs MigHiBytes=0 MigLoBytes=0
 
  Thanks.
 
 If I read that right, you have retention set to 1 month as well, so
 it will recycle after one month! Recycling happens at the first
 limit reached, so 1 month happens before 45 volumes.
 

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


Re: [Bacula-users] File volumes doesnt reach Maximun volumes

2010-04-27 Thread Matija Nalis
On Tue, Apr 27, 2010 at 12:39:58PM +0200, Jorge Cabello wrote:
 I thought new files were created until Maximum volumes limit was reached.

They were. But the old files were at the same time deleted according
to retention period, so you you maximum volume limit was never
actually reached.

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


Re: [Bacula-users] File volumes doesnt reach Maximun volumes

2010-04-27 Thread Jorge Cabello
OK. Thanks.

On Martes, 27 de Abril de 2010 12:45:45 Matija Nalis wrote:
 On Tue, Apr 27, 2010 at 12:39:58PM +0200, Jorge Cabello wrote:
  I thought new files were created until Maximum volumes limit was reached.
 
 They were. But the old files were at the same time deleted according
 to retention period, so you you maximum volume limit was never
 actually reached.
 

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