On Sunday 08 April 2007 23:36, Shaun T. Erickson wrote:
> On 4/8/07, Shaun T. Erickson <[EMAIL PROTECTED]> wrote:
> >
> > I'm watching the jobs run (I scheduled a full backup of everything),
> > and everything seems to be ok, except that three jobs have failed to
> > write their attributes to tape, leaving the jobs in a terminated, but
> > not completed, state. Since I only allow five jobs to run at a time -
> > all jobs spool to disk, then de-spool to tape - I've now only got two
> > running at a time, because the other three haven't cleared. I haven't
> > been able to figure out why they haven't de-spooled their attributes
> > yet. They were the first three jobs to start, but I don't see why that
> > should matter. When I connect to their file daemons from the console,
> > all three say they terminated their jobs successfully and show how
> > much they backed up. Indeed, all three successfully de-spooled their
> > data to tape too - just not their attributes, for some reason.
> 
> No sooner did I hit send on the above, when two of the three jobs
> "suddenly" de-spooled their attributes to tape and completed, so now
> I'm back up to 4 running jobs. I'm assuming that since these finally
> finished - more than two hours after they de-spooled their data - that
> the final one will eventually complete as well. It was a huge backup
> though and has a really large attribute file, so if it's sending them
> to tape based on size, it may be a while yet.
> 
> How does bacula decide when to send the attributes for a job to tape?
> When do they get written to the database? Maybe figuring that out will
> explain the behavior I'm seeing (which appears to be working - and I'm
> just hand-wringing watching for anything going wrong).

There are two attribute copies in the SD.  One is in the data that may be 
spooled and is written to tape. This copy always is written to the Volume at 
the same time as the data.

The second copy of the attributes is separated from the data and is *always* 
spooled.  These attributes are sent to the DIR only after all the data 
(+attributes) are written to the Volume.  Despooling, sending to the DIR and 
inserting the attributes in the catalog can be time consuming.

> -- 
>         -ste
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to