Bacula-users

Re: [Bacula-users] Recycle Pool and autoloaders

2010-03-30 10:43:00
Subject: Re: [Bacula-users] Recycle Pool and autoloaders
From: Dermot Beirne <dermot.beirne AT dpd DOT ie>
To: drescherjm <drescherjm AT gmail DOT com>
Date: Tue, 30 Mar 2010 15:34:22 +0100
Hi,
Thanks for replying, I was afraid you might say something like that!  
It does seem strange that such scripting would be necessary, as anyone with an autoloader must have a similar dilemma.  

I guess it's one for the wishlist.
Anyway, if anyone has already written such a script that i can adapt/use, I'd be grateful, particularly something that can determine the retention periods, etc.   It would not be my strong point. 

Thank you.
Dermot.



On 30 March 2010 14:07, John Drescher <drescherjm AT gmail DOT com> wrote:
> My understanding is that the volumes will never be used/pruned/purged
> as long as a suitable tape can be found.

That is correct.

>  If this is correct, then
> only when there is no suitable tape in the autoloader, will Bacula
> start purging these volumes back to Scratch.

I believe so.

> It will be too late at
> that stage, as the purged volumes will not be in the autoloader, and
> therefore the backup will sit waiting for a tape to be loaded.
>
> What needs to happen for the volumes to be automatically moved to Scratch?
>
You may have to emulate this functionality with a script that calls
bconsole and does a manual purge. You would have to basically handle
the retention period external to bacula. That can be done with a
combination of database queries and manually echoing commands to
bconsole.

John


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users