Bacula-users

[Bacula-users] Antw.: Re: retention time confusing

2008-11-23 16:48:31
Subject: [Bacula-users] Antw.: Re: retention time confusing
From: Carlo Maesen <c.maesen AT aca-it DOT be>
To: Dan Langille <dan AT langille DOT org>
Date: Sun, 23 Nov 2008 22:45:35 +0100 (CET)

----- Oorspronkelijk bericht -----
Van: "Dan Langille" <dan AT langille DOT org>
Aan: "Carlo Maesen" <c.maesen AT aca-it DOT be>
Cc: "bacula-users" <bacula-users AT lists.sourceforge DOT net>
Verzonden: Zondag 23 november 2008 22:14:30 GMT +01:00 Amsterdam / Berlijn / 
Bern / Rome / Stockholm / Wenen
Onderwerp: Re: [Bacula-users] retention time confusing


On Nov 23, 2008, at 3:55 PM, Carlo Maesen wrote:

>
> I am still confused about retentiontimes.
> I have defined a pool (aca) with a volume-retention of 6days. A  
> client has a retention (job and file) of 365 days.  I have the  
> following schedule:
>
> # The ACA-SOLARIS-schedule
> Schedule {
>  Name = aca-solaris-cycle
>  Run = Level=Differential Pool=aca mon-thu at 22:30
>  Run = Level=Full Pool=aca-week 1st-4th fri at 22:30
>  Run = Level=Full Pool=aca-month 5th fri at 22:30
> }
>
> Will the files/jobs of the differential backup been deleted from the  
> database after 6 days ?

Usually when someone asks a question like that, they see conflicting  
information or have tried it and failed to get what they expect.

Can you elaborate upon that now?

I think if you read the documentation you may see that one overrides  
another.  Sorry, I don't have time to check just now.

Sorry that I did not mentioned the reason of posting this issue. When I do 
"list jobs" I still see older jobs.
I als have look at "Automatic_Volume_Recycling"-chapter and "Automatic Pruning 
and Recycling Example" But the example doesn't show the client-config (file/job 
retention).
I do not understand the concept of automatic pruning. According to me files/and 
jobs are deleted only when a volume is recycled. A volume will be recycled only 
when there is no appendable volume and the volume is expired. And that's the 
reason I see older jobs. Because the corresponding volume is still appendable. 
Is this correct ?
By the way I am using bacula 2.4.3 on CentOs 5.2



> Here the pools
> Pool {
>  Name = aca
>  Pool Type = Backup
>  Volume Retention = 6 days
>  Recycle = yes
>  AutoPrune = yes
> }
>
> # Weekly ACA Pool
> Pool {
>  Name = aca-week
>  Pool Type = Backup
>  Volume Retention = 4 weeks
>  Recycle = yes
>  AutoPrune = yes
> }
>
> # Monthly ACA Pool
> Pool {
>  Name = aca-month
>  Pool Type = Backup
>  Volume Retention = 1 years
>  Recycle = yes
>  AutoPrune = yes
> }
>
> And here a client sample:
> # ITSHAS-SV04
> Client {
>  Name = itshas-sv04-fd
>  Address = itshas-sv04
>  FDPort = 9102
>  Catalog = MyCatalog
>  Password = xxx
>  File Retention = 365 days
>  Job Retention = 365 days
>  AutoPrune = yes
> }

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





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>
  • [Bacula-users] Antw.: Re: retention time confusing, Carlo Maesen <=