Bacula-users

Re: [Bacula-users] Bacula 2.4.4 backup error

2009-07-08 11:38:09
Subject: Re: [Bacula-users] Bacula 2.4.4 backup error
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 8 Jul 2009 16:09:59 +0100
>>>>> On Tue, 07 Jul 2009 08:13:43 +0200, Thomas Kempf said:
> 
> hello,
> i've got some problems with bacula 2.4.4. on Debian Lenny and postgresql 
> 8.3. Basically I'm facing the problem with postgresql discarding the 
> complete batch insert after a job because there are some invalid utf8 
> byte-sequences in it. There were already some discussions on this 
> subject with the proposal to dump the db and to reload it with encoding 
> SQL_ASCII which is what i did. This did not solve my problem. The backup 
> of some machines still produces this annoying error. Now i have two 
> questions.
> 
> 1. Why does bacula send me messages with the backup status of ok for 
> those machines instead of telling me at least, that the batch copy 
> failed. IMO there should be at least a warning that attribute despooling 
> failed.

If this happens with the latest version of Bacula, then please make a bug
report.


> 2. How can i solve that problem. There is nothing in the bacula logs and 
> the db-log just tells me that the batch insert failed at line xyz. But 
> as the attribute spool-file is deleted after the job, i can't look which 
> file produces the error. Is it something which is adressed in bacula v3.
> If so, i would take the pain and upgrade by self-compiling the new 
> bacula instead of taking the deb-packages.

What is the exact error you see in the db logs?  What does psql -l print?

__Martin

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users