Bacula-users

Re: [Bacula-users] Bacula 7.4.0 Win64 binaries job exit status

2016-07-24 20:15:54
Subject: Re: [Bacula-users] Bacula 7.4.0 Win64 binaries job exit status
From: Wanderlei Huttel <wanderleihuttel AT gmail DOT com>
To: "Joseph L. Casale" <jcasale AT activenetwerx DOT com>
Date: Sun, 24 Jul 2016 21:14:51 -0300
Hello Joseph

I've made a test and worked fine for me.

A simple powershell file:

-----------------------------------------------------------------------------------
$OutputFile="c:\output.txt"
$Date = Get-Date
$JobName = $args[0]
Out-File  -filepath $OutputFile -inputobject "$Date - $JobName"
exit 1
-----------------------------------------------------------------------------------


22-Jul 14:53 bacula-dir JobId 9: Start Backup JobId 9, Job=Backup_Wanderlei.2016-07-22_14.53.41_13
22-Jul 14:53 bacula-dir JobId 9: Using Device "FileChgr1-Dev1" to write.
24-Jul 21:09 wanderlei-fd JobId 9: shell command: run ClientRunBeforeJob "powershell.exe C:/'Program Files'/Bacula/scripts/backup.ps1 Backup_Wanderlei.2016-07-22_14.53.41_13"
24-Jul 21:09 wanderlei-fd JobId 9: Error: Runscript: ClientRunBeforeJob returned non-zero status=1. ERR=Unknown error
22-Jul 14:53 bacula-dir JobId 9: Fatal error: Bad response to ClientRunBeforeJob command: wanted 2000 OK RunBefore
, got 2905 Bad RunBeforeJob command.
22-Jul 14:53 bacula-dir JobId 9: Fatal error: Client "wanderlei-fd" RunScript failed.
22-Jul 14:53 bacula-dir JobId 9: Error: Bacula bacula-dir 7.4.0 (16Jan16):
  Build OS:               x86_64-unknown-linux-gnu debian 8.3
  JobId:                  9
  Job:                    Backup_Wanderlei.2016-07-22_14.53.41_13
  Backup Level:           Full
  Client:                 "wanderlei-fd" 7.4.0 (16Jan16) Microsoft Professional (build 9200), 64-bit,Cross-compile,Win64
  FileSet:                "FS_Wanderlei" 2016-07-22 14:49:18
  Pool:                   "File" (From Job resource)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "File1" (From Job resource)
  Scheduled time:         22-Jul-2016 14:53:39
  Start time:             22-Jul-2016 14:53:43
  End time:               22-Jul-2016 14:53:50
  Elapsed time:           7 secs
  Priority:               10
  FD Files Written:       0
  SD Files Written:       0
  FD Bytes Written:       0 (0 B)
  SD Bytes Written:       0 (0 B)
  Rate:                   0.0 KB/s
  Software Compression:   None
  Snapshot/VSS:           yes
  Encryption:             no
  Accurate:               no
  Volume name(s):
  Volume Session Id:      5
  Volume Session Time:    1469140419
  Last Volume Bytes:      14,827,218 (14.82 MB)
  Non-fatal FD errors:    2
  SD Errors:              0
  FD termination status:  Error
  SD termination status:  OK
  Termination:            *** Backup Error ***



Best Regards

Wanderlei Hüttel

2016-07-23 21:35 GMT-03:00 Joseph L. Casale <jcasale AT activenetwerx DOT com>:
I have a runbefore set to fail the job on error yet the binary which is executed exits with a
return code of 1 and the job continues.

Known issue?

Thanks,
jlc

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
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>