Bacula-users

Re: [Bacula-users] Full backup not detected on running an incr. backup job?

2008-07-09 16:26:56
Subject: Re: [Bacula-users] Full backup not detected on running an incr. backup job?
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 09 Jul 2008 22:26:30 +0200
Hi,

09.07.2008 19:49, Oliver Lehmann wrote:
> Arno Lehmann wrote:
> 
>> If you haven't run another full yet, I suggest you try an incremental 
>> backup with debug tracing enabled in the DIR (like 'setdebug level=100 
>> trace=1 dir') and we'll see if we find something in the trace output.
> 
> Here the first lines - all the later lines are dealing with type Full:

Ok. I assume this is a bug. I'm not very fluent in Bacula's source, so 
you should report it to the developers yourself. But this is what I think:

> nudel-dir: ua_run.c:1199-0 Using pool Bacula-Pool
> nudel-dir: jcr.c:603-0 OnEntry JobStatus=nudel-dir: jcr.c:623-0 OnExit 
> JobStatus=C set=C
> nudel-dir: job.c:1127-0 wstorage=File
> nudel-dir: job.c:1136-0 wstore=File where=Job resource
> nudel-dir: job.c:1161-0 wstore=File where=Job resource
> nudel-dir: ua_run.c:455-0 Using pool Bacula-Pool
> nudel-dir: jcr.c:603-0 OnEntry JobStatus=C set=C
> nudel-dir: jcr.c:623-0 OnExit JobStatus=C set=C
> nudel-dir: job.c:125-0 Open database
> nudel-dir: mysql.c:92-0 DB REopen 1 bacula
> nudel-dir: mysql.c:96-0 initdb ref=2 connected=1 db=812d044
> nudel-dir: job.c:669-0 Created Client kartoffel-fd record 2
> nudel-dir: job.c:170-0 Created job record JobId=3413 
> Name=client-kartoffel-files.2008-07-09_19.37.18 Type=B Level=I
> nudel-dir: fd_cmds.c:209-0 Level=F last start time=0000-00-00 00:00:00

The above line shows that, in the catalog, no valid full backup was found.

Interestingly, there is no output from db_find_job_start_time, which 
is called in fd_cmds and prints debug output at level 100, too, if it 
finds a suitable backup.

This looks like either the catalog or the connection to it is broken, 
the code is buggy, or your job is setup incorrect (which I believe it 
is not...)

> nudel-dir: jcr.c:603-0 OnEntry JobStatus=C set=R
> nudel-dir: jcr.c:623-0 OnExit JobStatus=R set=R
> nudel-dir: jcr.c:603-0 OnEntry JobStatus=R set=R
> nudel-dir: jcr.c:623-0 OnExit JobStatus=R set=R
> nudel-dir: backup.c:119-0 JobId=3413 JobLevel=F
> nudel-dir: jcr.c:603-0 OnEntry JobStatus=R set=S
> nudel-dir: jcr.c:623-0 OnExit JobStatus=S set=S
> nudel-dir: msgchan.c:104-0 bnet_connect to Storage daemon nudel:9103
> 
> somehow fd_cmds.c detets that now Fullbackup was done... I'm using 2.4.0 
> 
> I've installed as a FreeBSD port - like all the time befor - I can post
> a config.log if you want...
> 

You should report this at bugs.bacula.org, together with all the 
details from this mail thread. Feel free to point to this mail - if I 
misunderstood things I'm ready to be blamed for it :-)

Arno

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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>