Bacula-users

Re: [Bacula-users] automatically pruning the loaded volume

2008-10-14 08:45:55
Subject: Re: [Bacula-users] automatically pruning the loaded volume
From: Tilman Schmidt <t.schmidt AT phoenixsoftware DOT de>
To: Ryan Novosielski <novosirj AT umdnj DOT edu>
Date: Tue, 14 Oct 2008 14:05:48 +0200
Am 13.10.2008 19:05 schrieb Ryan Novosielski:
I would strongly recommend not pursuing workarounds. This part of the
software works just fine. I believe if your retention settings are
correct, the pruning will happen by itself after a mount, and if they
aren't no amount of manual pruning will save you.

My retention settings have been posted here, and the fact that they
work perfectly fine as long as none of my pools contain any volumes
in "Recycled" state at the time the backup starts seems to indicate
that they cannot be too far off the mark. Also, contrary to your
assertion, manually applying a "prune" command to every volume
after mounting it *does* in fact save me, in the sense that it
reliably avoids the problem.

IMHO (though I would be glad to be proven wrong) retention settings
won't influence this Problem at all. The option "AutoPrune = yes"
is, obviously by design, completely ineffective as soon as the pool
already contains an appendable volume. In other words, if the pool
requested by a job contains a volume with status=Recycled, but a
different volume from the same pool has been mounted, Bacula will
*not* recycle that volume *even* *if* it is eligible for recycling
according to its retention settings - and is, in fact, recycled
just fine by a manual "prune" command. This behaviour is proven by
experiment, backed up by the documentation, and may well qualify
as "working just fine". I don't want to argue that point, I am just
trying to cope with it.

So what do you propose?

Thanks,
Tilman

--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
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>