Bacula-users

Re: [Bacula-users] Where are attributes spooled to?

2008-08-18 13:17:06
Subject: Re: [Bacula-users] Where are attributes spooled to?
From: "John Drescher" <drescherjm AT gmail DOT com>
To: "T. Horsnell" <tsh AT mrc-lmb.cam.ac DOT uk>
Date: Mon, 18 Aug 2008 13:16:56 -0400
On Mon, Aug 18, 2008 at 1:00 PM, T. Horsnell <tsh AT mrc-lmb.cam.ac DOT uk> 
wrote:
> John Drescher wrote:
>>> | i thought attributes were spooled, then commited to the database, of
>>> course
>>> | i may be completely wrong :-\
>>>
>>> Actually, you may be right. I ran into a situation over the weekend
>>> where something that was locking the database caused attribute spooling
>>> to hang. Anyone have a definitive answer?
>>>
>>>
>> Attributes are spooled to the database at the end of the job. If you
>> have thousands of files bacula may indicate that the job is finished
>> before this spooling is done but if you check the status of the
>> storage you will see that spooling is still happening. I am not sure
>> if you can remove media while this is happening as I have never
>> attempted that.
>>
>>
> Hm. Not sure about that. The manual says that setting Spool Attributes = yes
> causes the storage daemon to buffer the attributes to a temp file in the
> working
> directory, and then send them to the director (presumably for insertion
> into the catalog)
> when 'writing the Job data to the tape is complete' whatever that means.
>
>
That is what I was trying to describe.

>
> I also think that the storage daemon will have written those attributes
> to tape along
> with the per-file data (not at the job completion), so that bscan can
> unback files
> without a catalog,  or rebuild the catalog .
>
Yes, this also happens as you describe.

Also, there is no single catalog file (containing all the files in the
entire job) on the tape like some other backup programs do.

John

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