Bacula-users

Re: [Bacula-users] pruning oldest volume when its impossible

2014-08-14 21:00:20
Subject: Re: [Bacula-users] pruning oldest volume when its impossible
From: Jeff MacDonald <jeff AT terida DOT com>
To: Heitor Faria <heitor AT bacula.com DOT br>, bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 14 Aug 2014 21:54:57 -0300

On Aug 14, 2014, at 9:44 PM, Heitor Faria <heitor AT bacula.com DOT br> wrote:




On Thu, Aug 14, 2014 at 9:27 PM, Jeff MacDonald <jeff AT terida DOT com> wrote:
Hi,

Hi Jeff! 

I have a backup job that uses a Pool of 100 5 gig files. Job and File retention are set to 10 years. Vol retention set to 70 days.

100 files have been filled and the oldest file is 23 days old. 

Right now bacula is attempting to prune the oldest volume. As I understand things.. this will not result in any thing actually being pruned from that volume and essentially my db is just going to spin and move onto the next volume until I add new ones for it to use. Am I correct?

I think it's correct, unless have configured the "Purge Oldest Volume = yes”.

Purge Oldest Volume = yes… just sounds evil :) Like it can override any and all retention periods. I don’t want that :)


And if so. I’m taking suggestions on how to handle this smarter.

I think this is smart. You just need to have more volumes in order to meet your 70 days volume retention needs, or decrease the volue retention period.
The volume retention its the time frame within your data should not be recycle. Thats what Bacula is doing.
 
I guess I should add that I have AutoPrune On. I guess if that was off, then the job would instead wait until I increased the amount of volumes allowed in the pool instead of going into this foolish loop?

With Autoprune = off i think the behavior would be the same at this point.

Would it? If that was off… I would think that the director would just wait until either i labeled a new volume, or told it to prune one?



Cheers.
 

Jeff.

------------------------------------------------------------------------------

_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users




--
============================================
Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at Udemy: bacula-users
+55 61 2021-8260
+55 61 8268-4220
Site: www.bacula.com.br
Facebook: heitor.faria
Gtalk: heitorfaria AT gmail DOT com
============================================

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users