Bacula-users

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

2009-02-13 09:30:13
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: Kevin Keane <subscription AT kkeane DOT com>
Date: Fri, 13 Feb 2009 15:28:09 +0100
Kevin Keane a écrit :
> If my math is right, the 12th is the 13th day of the retention period. 
> Since the previous job finished at 22:43, and your new job started at 
> 22:38, the rentention period hadn't elapsed yet, by about five minutes. 
> The reason it sometimes works and sometimes doesn't is simply the timing 
> between the jobs. 
>   
Actually, I don't agree with your maths, sorry :)
The 12th was the 14th day of the retention period.
29th 22:43:13 => start of retention, day/hour 0
30th 22:43:13 => 1st day
31th 22:43:13 => 2nd day
1st 22:43:13 => 3rd day
2nd 22:43:13 => 4th day
...
11th 22:43:13 => 13th day : job could be pruned, and then the volume
12th 22:38 => job is still there, volume is still not recycled ???

So basically it looks more like a Job pruning problem ?
> As you back up larger jobs, this problem is going to 
> get worse. You really need more than 12 volumes for a 13 day retention 
> period.
I have 14 volumes : 2 full (1 day per week) + 12 incremental
(6 days per week).
So even if the job stopped one day after schedule (I limit
the job to 20 hours by the way), when the "two week after"
job should takes place (should it be Full or Incr), the volume
should already have been recycled.
That's why I choosed this 13 days Retention time, and not 14.

Or perhaps I am wrong and don't understand some basic thing here ?
> Personally, I would suggest you consider letting Bacula automatically 
> label volumes as needed. Also, with bi-weekly backups, you may want to 
> consider 15 days instead of 13 days as your retention period. Otherwise, 
> bacula has to delete an older backup just before doing the next one, and 
> you'd be left with just one backup on your disk. If that is somehow 
> corrupted, you'd have a problem.
>   
I know that, but that's a choice that I have made, I should restrict
the size of backups that I have (more than 6To actually, keeping one
more Full Jobs would mean about 9To...).

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