Bacula-users

Re: [Bacula-users] Volume pruned because there are no job records

2011-05-06 14:39:18
Subject: Re: [Bacula-users] Volume pruned because there are no job records
From: "Kevin O'Connor" <kevin.oconnor AT arc90 DOT com>
To: Martin Simmons <martin AT lispworks DOT com>
Date: Fri, 6 May 2011 14:36:10 -0400
It's written initially, but the next job you run it will purge the Volume because it thinks there are no jobs associated with it.

The job is still in list jobs (#18 here was the one that was purged when #19 was run):

*list jobs

+-------+-------------------+---------------------+------+-------+----------+-------------+-----------+

| JobId | Name� � � � � � � | StartTime � � � � � | Type | Level | JobFiles | JobBytes� � | JobStatus |

+-------+-------------------+---------------------+------+-------+----------+-------------+-----------+

|� � 17 | company-services-01 | 2011-05-06 14:23:12 | B� � | F � � | � 28,864 | 443,784,659 | T � � � � |

|� � 18 | company-services-01 | 2011-05-06 14:31:02 | B� � | I � � |� � � � 0 | 443,784,659 | T � � � � |

|� � 19 | company-services-01 | 2011-05-06 14:31:52 | B� � | I � � |� � � � 0 | 443,784,659 | T � � � � |

+-------+-------------------+---------------------+------+-------+----------+-------------+-----------+


But had its volume pruned:


6-May 14:31 company-services-01-dir JobId 19: Start Backup JobId 19, Job=company-services-01.2011-05-06_14.31.50_07

06-May 14:31 company-services-01-dir JobId 19: There are no more Jobs associated with Volume "company-services-01-fd-company-services-01.2011-05-06_14.31.00_06-Incremental". Marking it purged.

06-May 14:31 company-services-01-dir JobId 19: All records pruned from Volume "company-services-01-fd-company-services-01.2011-05-06_14.31.00_06-Incremental"; marking it "Purged"


On Fri, May 6, 2011 at 2:13 PM, Martin Simmons <martin AT lispworks DOT com> wrote:
>>>>> On Thu, 5 May 2011 16:20:11 -0400, Kevin O'Connor said:
>
> It looks like when a particular job is run and there were no changes
> recorded, it purges the Volume. �Is this the desired behavior? �Should it
> mark a Volume as such just because there were no recorded changes? �I'd
> think you'd just keep the Volume and just keep it marked as Used. �A SELECT
> * FROM File WHERE JobId = '54' returns no results, that was the last job run
> before the entries pasted below showed up, this is expected though as this
> was an incremental and no files were changed.

That sounds like a bug to me. �An empty job should still be written to the
media.

Is the job still in the output of "list jobs"?

__Martin

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. �Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
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>