Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Kern Sibbald
On 12.08.2015 15:17, Andrey Tataranovich wrote: > On Tue, 11 Aug 2015 15:47:40 +0100 > Martin Simmons wrote: > >> You could use bls -j with the volume file to scan the whole volume. > I'm upset with bls behavior - it does not return non zero exit code > on error and output error messages to stdout

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Ana Emília M . Arruda
Sorry, my earlier message was incomplete :) Hello all, Looking at the 7.0.5 version code, It seems that the part that checks the checksum error (block_util.c, unser_block_header function) detects the checksum error but does not return the non zero exit code, as occurs in other parts of the code,

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Ana Emília M . Arruda
Hello all, Looking at the 7.0.5 version code, It seems that the part that checks the checksum error (block_util.c) detects the checksum error but does not return the non zero exit code, as occurs in other parts of the code. block->read_errors++; if (!forge_on) { retu

Re: [Bacula-users] Bacula + MS SQLServer + Shadow Copy

2015-08-12 Thread Gilberto Nunes
Hello Kern... I did not received that warning... I use the latest version of bacula windows client, downloaded from sf.net... BTW, I solved the trouble... Thanks a lot! 2015-08-12 3:08 GMT-03:00 Kern Sibbald : > On 12.08.2015 00:49, Gilberto Nunes wrote: > > Hello guys > I am very sorry! > I

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Josip Deanovic
On Wednesday 2015-08-12 16:17:42 Andrey Tataranovich wrote: > On Tue, 11 Aug 2015 15:47:40 +0100 > > Martin Simmons wrote: > > You could use bls -j with the volume file to scan the whole volume. > > I'm upset with bls behavior - it does not return non zero exit code > on error and output error m

Re: [Bacula-users] Bacula problem with Volumes/Label

2015-08-12 Thread John Drescher
> The Error: > 12-Aug 13:27 mccallister-dir JobId 243: Start Backup JobId 243, > Job=BaculaConfBackup.2015-08-12_13.27.54_54 > 12-Aug 13:27 mccallister-dir JobId 243: Using Device "BacDev" to write. > 12-Aug 13:28 mccallister-sd JobId 243: End of Volume "Vol-0224" at 0:0 on > device "BacDev" (/Bo

[Bacula-users] Bacula problem with Volumes/Label

2015-08-12 Thread Gerwayn
Hello all, its my first time in this forum, but i hope you may can help me. I've set up a Bacula server on Debian, configured the clients and started the service. All works fine, no Problems. But after 1 1/2 weeks all Jobs, one after the other are stop working. Now im wondering why, because i ge

Re: [Bacula-users] bsmtp failing to connect to mail server

2015-08-12 Thread Alex Domoradov
If you don't want change/configure postfix - I may suggest to use swaks. It's a perl script which has a lot of functionality. I'm using the following command with nagios without any problem /usr/bin/printf "%b" "$MESSAGE\n" | /usr/bin/swaks -4 --server smtp.googlemail.com:587 --from $USER3$ --to $

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Andrey Tataranovich
On Wed, 12 Aug 2015 10:37:13 -0300 (BRT) Heitor Faria wrote: > Hello Andrey: I think it was the developer option not to terminate de > bls on error if this kind of message / alert happens, after all it's > not pretty much it's purpose. I think you can change both things with > a little shell scri

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Heitor Faria
> On Tue, 11 Aug 2015 15:47:40 +0100 > Martin Simmons wrote: > >> You could use bls -j with the volume file to scan the whole volume. > > I'm upset with bls behavior - it does not return non zero exit code > on error and output error messages to stdout instead of stderr. > > # bls -j /bacula/ba

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Andrey Tataranovich
On Tue, 11 Aug 2015 15:47:40 +0100 Martin Simmons wrote: > You could use bls -j with the volume file to scan the whole volume. I'm upset with bls behavior - it does not return non zero exit code on error and output error messages to stdout instead of stderr. # bls -j /bacula/backup/Libvirt-0177

Re: [Bacula-users] Bacula daemon message- where did it come from?

2015-08-12 Thread Heitor Faria
> Hello Luc, > Thank you for the explanation. BTW I had being thinking if this was not due > because of a timezone mismatch configuration in the mail server/relay > (supposing the datetime was filled by the SMTP server and not client). > I'm still believing in a system mail problem instead of a b

Re: [Bacula-users] Way to check ANY bacula volume on disk

2015-08-12 Thread Josh Fisher
On 8/11/2015 2:04 PM, Phil Stracchino wrote: > On 08/11/15 13:52, Andrey Tataranovich wrote: >> On Tue, 11 Aug 2015 15:47:40 +0100 >> Martin Simmons wrote: >> >>> You could use bls -j with the volume file to scan the whole volume. >>> >>> I recomend use a more secure fileserver to store your bac

Re: [Bacula-users] Bacula daemon message- where did it come from?

2015-08-12 Thread Ana Emília M . Arruda
Hello Luc, Thank you for the explanation. BTW I had being thinking if this was not due because of a timezone mismatch configuration in the mail server/relay (supposing the datetime was filled by the SMTP server and not client). I'm still believing in a system mail problem instead of a bacula issu

Re: [Bacula-users] Still don't get auto-pruning

2015-08-12 Thread Kern Sibbald
Hello, I suspect (but this is just a guess) that you may not understand what prune and purge do.  The first important point is that both apply only to records kept in the catalog -- that is nothing actually physically happens with the volumes.

[Bacula-users] Still don't get auto-pruning

2015-08-12 Thread Luc Van der Veken
I still don't really get auto-pruning, I think. Am I seeing 'prune' and 'purge' as more closely related than they are? Snippet from the manual, about what happens when Bacula needs a volume: AutoPrune = yes|no If AutoPrune is set to yes (default), Bacula will automatically apply the Volume reten