Bacula-users

Re: [Bacula-users] Incremental pool used when job upgraded from inc tofull

2013-02-17 10:57:02
Subject: Re: [Bacula-users] Incremental pool used when job upgraded from inc tofull
From: Michael Anderson <michael.anderson AT elegosoft DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 17 Feb 2013 16:53:44 +0100
On 2/16/13 4:50 PM, Bill Arlofski wrote:
> On 02/16/13 06:34, Fahrer, Julian wrote:
>>> -----Ursprüngliche Nachricht-----
>>> Von: Michael Anderson [mailto:michael.anderson AT elegosoft DOT com]
>>> Gesendet: Samstag, 16. Februar 2013 12:28
>>> An: bacula-users AT lists.sourceforge DOT net
>>> Betreff: [Bacula-users] Incremental pool used when job upgraded from inc
>>> tofull
>>>
>>> Hello,
>>>
>>> I have three pools defined for a host with differing retention times:
>>>
>>> Pool {
>>>      Name = myhost.example.com-full
>>>      Pool Type = Backup
>>>      Maximum Volume Jobs = 1
>>>      Recycle = yes
>>>      AutoPrune = yes
>>>      Volume Retention = 6 months
>>>      LabelFormat = "myhost.example.com-full-"
>>> }
>>>
>>> Pool {
>>>      Name = myhost.example.com-diff
>>>      Pool Type = Backup
>>>      Maximum Volume Jobs = 1
>>>      Recycle = yes
>>>      AutoPrune = yes
>>>      Volume Retention = 4 weeks
>>>      LabelFormat = "myhost.example.com-diff-"
>>> }
>>>
>>> Pool {
>>>      Name = myhost.example.com-inc
>>>      Pool Type = Backup
>>>      Maximum Volume Jobs = 1
>>>      Recycle = yes
>>>      AutoPrune = yes
>>>      Volume Retention = 8 days
>>>      LabelFormat = "myhost.example.com-inc-"
>>> }
>>>
>>> declared in the Schedule so:
>>>
>>> Schedule {
>>>      Name = "myhost.example.com-monthly"
>>>      Run = Level=Full Pool=myhost.example.com-full 1st sun at 23:05
>>>      Run = Level=Differential Pool=myhost.example.com-diff 2nd-5th sun at
>>> 23:05
>>>      Run = Level=Incremental Pool=myhost.example.com-inc mon-sat at 23:05 }
>>>
>>>
>>> This works fine unless a job get upgraded from incremental or diff to
>>> full. When a job gets upgraded, Bacula uses the pool the job was
>>> upgraded from instead of the pool the job was upgraded to. That is, when
>>> a job gets upgraded from inc to full, the inc pool is used. This causes
>>> the full jobs to be purged at the inc retention interval, which uses
>>> quite a bit more network traffic and disk space than I had planned for.
>>> How can I make Bacula use the full pool when a job gets upgraded?
>>>
>>> Thanks,
>>>
>>> Michael Anderson
>>>
>> Hi Michael,
>>
>> this behavior is expected. But you can specify
>>
>>    Full Backup Pool = [poolname]
>>    Incremental Backup Pool = [poolname]
>>    Differential Backup Pool = [poolname]
>>
>> in the job resources to solve your problem.
>>
>> Kind regards
>>
>> Julian
>
> Michael, you can also specify the pools in the Schedule resource:
>
> Schedule {
>    Name = Weekly
>    Run = Full         pool=Full  1st     fri at 21:30
>    Run = Differential pool=Diff FullPool=Full 2nd-5th fri at 21:30
>    Run = Incremental  pool=Inc FullPool=Full DifferentialPool=Diff mon-thu
> at 21:30
> }
>
> That last "Run" line will wrap in this email, but should be on one line.
>
> I've always configured the additional pool specifications there, but both
> places work.
>
> --
> Bill Arlofski
> Reverse Polarity, LLC

Thanks, that did the trick.

Michael

> ------------------------------------------------------------------------------
> The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
> is your hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials, tech docs,
> whitepapers, evaluation guides, and opinion stories. Check out the most
> recent posts - join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


-- 
Michael Anderson
IT Services & Support

elego Software Solutions GmbH
Gustav-Meyer-Allee 25
Building 12.3 (BIG) room 227
13355 Berlin, Germany

phone +49 30 23 45 86 96      michael.anderson at elegosoft.com
fax   +49 30 23 45 86 95      http://www.elegosoft.com

Geschaeftsfuehrer: Olaf Wagner, Sitz Berlin
Amtsgericht Berlin-Charlottenburg, HRB 77719, USt-IdNr: DE163214194


------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>