Bacula-users

Re: [Bacula-users] Issue with recycling after moving from 2.0 to 2.4

2009-02-13 09:10:26
Subject: Re: [Bacula-users] Issue with recycling after moving from 2.0 to 2.4
From: Yann Cézard <yann.cezard AT univ-pau DOT fr>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Fri, 13 Feb 2009 15:08:01 +0100
John Drescher a écrit :
> On Fri, Feb 13, 2009 at 5:19 AM, Yann Cézard <yann.cezard AT univ-pau DOT 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
>   
Hi John,

I don't understand what you mean, PoolType can only be one of this :
(http://www.bacula.org/en/rel-manual/Configuring_Director.html#SECTION0014150000000000000000)
Pool Type = <type>
    This directive defines the pool type, which corresponds to the type 
of Job being run. It is required and may be one of the following:

    Backup
    *Archive
    *Cloned
    *Migration
    *Copy
    *Save

    Note, only Backup is current implemented.

So the note says that I don't really have the choice, the only type of 
pool that
I can use is Backup ?!

I you're talking about Volume status, you can look at the Media database
that I've send, they're all marked as 'Used'.

Or I misunderstand what you mean.

Regards,

-- 
Yann Cézard - Administrateur Systèmes Serveurs
Centre de Ressources Informatiques    -    http://cri.univ-pau.fr
Université de Pau et des Pays de l'Adour - http://www.univ-pau.fr


------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users