On Fri, Feb 13, 2009 at 5:19 AM, Yann Cézard <yann.cez...@univ-pau.fr> wrote: > Hi list, > > I have recently moved to bacula 2.4.4 (2.4.3 at the start, I upgraded > to 2.4.4 last week), from 2.0.3 (totally new installation : new server, > new databases, the only thing that I kept from the old install is my > client/jobs/pools/... configuration files) and I am facing a strange > issue in volume recycling. > Operating system is Debian Lenny (bacula packages are the "official" > Debian ones). > > My backups are configured that way : > - 1 Full job per week, Incremental the other days > - jobs are kept 13 days (full or incr) > - volume are 13 days retention period, recycling is on, autoprune > is on, each job has one Full Pool (2 volumes) and one Incremental > Pool (12 volumes) > - all backups are done on disk (no tape) > - multiple databases (not really one for each client, but not far - one > database by client profile) > > Everything was working fine with 2.0.3, but I noticed that with 2.4.4 > recycling is sometime happenning more lately, or not when wanted... > > Exple : > Pools looks like this in database (sorry for the formatting) : > +--------+--------------+---------+---------+---------+------------+-----------------+--------------+----------------+------------+-------------+-------------+-----------+---------+----------+-----------+-------------+---------+---------------+---------------+------------+--------------------+-------------------+---------------+ > | PoolId | Name | NumVols | MaxVols | UseOnce | UseCatalog | > AcceptAnyVolume | VolRetention | VolUseDuration | MaxVolJobs | > MaxVolFiles | MaxVolBytes | AutoPrune | Recycle | PoolType | LabelType | > LabelFormat | Enabled | ScratchPoolId | RecyclePoolId | NextPoolId | > MigrationHighBytes | MigrationLowBytes | MigrationTime | > +--------+--------------+---------+---------+---------+------------+-----------------+--------------+----------------+------------+-------------+-------------+-----------+---------+----------+-----------+-------------+---------+---------------+---------------+------------+--------------------+-------------------+---------------+ > | 60 | PoolSso-Full | 2 | 2 | 1 | 1 > | 0 | 1123200 | 0 | 0 > | 0 | 0 | 1 | 1 | Backup | 0 > | sso-full- | 1 | 0 | 0 | 0 > | 0 | 0 | 0 | > | 61 | PoolSso-Incr | 12 | 12 | 1 | 1 > | 0 | 1123200 | 0 | 0 > | 0 | 0 | 1 | 1 | Backup | 0 > | sso-incr- | 1 | 0 | 0 | 0 > | 0 | 0 | 0 | > +--------+--------------+---------+---------+---------+------------+-----------------+--------------+----------------+------------+-------------+-------------+-----------+---------+----------+-----------+-------------+---------+---------------+---------------+------------+--------------------+-------------------+---------------+ >
Do not use volume PoolType "Backup". Only Used, Full or Append. John ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users