Bacula-users

Re: [Bacula-users] Disk backup volume recycling/autopruning problems

2008-06-02 11:46:36
Subject: Re: [Bacula-users] Disk backup volume recycling/autopruning problems
From: Pasi Kärkkäinen <pasik AT iki DOT fi>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Mon, 2 Jun 2008 18:46:11 +0300
On Mon, Jun 02, 2008 at 06:36:07PM +0300, Pasi Kärkkäinen wrote:
> On Mon, Jun 02, 2008 at 11:31:21AM -0400, John Drescher wrote:
> > > Nope.. I didn't change volume retention times after the volumes were
> > > created.
> > >
> > > http://pasik.reaktio.net/bacula-cannot-find-any-appendable-volumes.txt
> > >
> > That looks fine. I have no idea why this is not working correctly.
> > Hopefully others can help..
> > 
> 
> atm I'm running Bacula 2.3.28 (SVN from a couple of days ago).. I wonder if
> there's some bug in the development code affecting this functionality..
> 
> (I need development version because I'm going to test "copy jobs" feature).
> 

Hmm.. now this is weird.

I stopped bacula and restarted it.

Now I get this:

JobId 5: There are no more Jobs associated with Volume "Pool1-Vol-0001". 
Marking it purged.
JobId 5: All records pruned from Volume "Pool1-Vol-0001"; marking it "Purged"
JobId 5: Recycled volume "Pool1-Vol-0001"
JobId 5: Using Device "FSDevice1"
JobId 5: Recycled volume "Pool1-Vol-0001" on device "FSDevice1" 
(/mnt/backup1/pool1), all previous data lost.
JobId 5: Volume used once. Marking Volume "Pool1-Vol-0001" as Used.

What changed/happened when I restarted bacula? 

It can't be the retention period.. it's 60 seconds, and those volumes were
definitely that old when they were supposed to be recycled the first time..

-- Pasi

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users