Bacula-users

Re: [Bacula-users] I don't want to prune files ! …… Not working as expected

2011-08-16 07:34:53
Subject: Re: [Bacula-users] I don't want to prune files ! …… Not working as expected
From: Dan Langille <dan AT langille DOT org>
To: Hugo Letemplier <hugo.let.35 AT gmail DOT com>
Date: Tue, 16 Aug 2011 07:32:16 -0400
On Aug 16, 2011, at 7:27 AM, Hugo Letemplier wrote:

> 2011/8/16 Dan Langille <dan AT langille DOT org>:
>> 
>> On Aug 16, 2011, at 6:36 AM, Hugo Letemplier wrote:
>> 
>>> 2011/8/16 Jeremy Maes <jma AT schaubroeck DOT be>:
>>>> Op 16/08/2011 11:45, Hugo Letemplier schreef:
>>>> 
>>>> Hi the list !
>>>> 
>>>> I have a recurrent issue in bacula.
>>>> 
>>>> I specified a very long duration for job and file retention.
>>>> I sepecified Purge File = No, Purge Job = No, Purge Volume = yes
>>>> I have autoprune = yes in the pool description
>>>> 
>>>> I work on a volume rotation basis, one volume is kept a time according
>>>> to his pool's retention parameters.
>>>> 
>>>> I want to keep in base, for some jobs, all the files that are in the
>>>> volume because theses jobs are more usually used to restore some files
>>>> than the whole job.
>>>> 
>>>> But I still have "Puged Files = Yes" in the job run list in Bat.
>>>> 
>>>> I don't understand what's happenning !
>>>> 
>>>> Could you help me ?
>>>> 
>>>> How can I check that my pruning directives work as expected ?
>>>> 
>>>> Thank you in advance.
>>>> 
>>>> Hugo
>>>> 
>>>> Did you set these long retention times etc after you created the volumes?
>>>> Those parameters are set for a volume when it's created, and are not
>>>> automatically updated when you change the config and/or reload bacula. You
>>>> have to issue the "update" command in bconsole and update your "pool from
>>>> resource" for all pools and volume parameters "all volumes from pool". (or
>>>> all volumes from all pools).
>>>> 
>>>> Kind regards,
>>>> Jeremy
>>>> 
>>>> **** DISCLAIMER ****
>>>> http://www.schaubroeck.be/maildisclaimer.htm
>>> 
>>> Thanks for your answer
>>> 
>>> Yes, I already have updated my volumes. So I dont understand very well
>>> what 's happening
>> 
>> 
>> When in doubt, ignore bat. Instead, look at what bconsole reports.
>> 
>> --
>> Dan Langille - http://langille.org
>> 
>> 
> I checked via a restore
> I think there is no doubt because bacula done an inc as big as a full
> just after the jobs that were marked Pruned Files : yes
> Also when i do a restore It says that there are missing files entries
> and I cant select file and dirs with the tree in bconsole.
> 

I believe you are reaching conclusions based on suspicions, not facts.  The 
conclusions may be correct, but that doesn't help find the cause.

Look at the output of 'list media'.  Look at the value in volretention.  It is 
in seconds.

Is this value matching up with that expect?


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


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users