> oh yes, it is in the python-bareos package. This package is included in > bareos-17.2. For older versions you can take it from the > http://download.bareos.org/bareos/contrib/ repository.
Hello Jörg, Unfortunately, the script terminates with an error: 10-Nov 14:48 bareos-dir JobId 47: BeforeJob: DEBUG lowlevel.recv_submsg: submsg len: 155 10-Nov 14:48 bareos-dir JobId 47: BeforeJob: DEBUG lowlevel.__get_header: remaining header len: 4 10-Nov 14:48 bareos-dir JobId 47: BeforeJob: DEBUG lowlevel.__set_status: Server ready and waiting (-18) 10-Nov 14:48 bareos-dir JobId 47: BeforeJob: Traceback (most recent call last): 10-Nov 14:48 bareos-dir JobId 47: BeforeJob: File "/usr/local/bin/triggerjob.py", line 72, in <module> 10-Nov 14:48 bareos-dir JobId 47: BeforeJob: clients = get_connected_clients(director) 10-Nov 14:48 bareos-dir JobId 47: BeforeJob: File "/usr/local/bin/triggerjob.py", line 16, in get_connected_clients 10-Nov 14:48 bareos-dir JobId 47: BeforeJob: clients = [ client['name'] for client in result ] 10-Nov 14:48 bareos-dir JobId 47: BeforeJob: TypeError: string indices must be integers 10-Nov 14:48 bareos-dir JobId 47: Error: Runscript: BeforeJob returned non-zero status=1. ERR=Child exited with code 1 10-Nov 14:48 bareos-dir JobId 47: Error: Bareos bareos-dir 16.2.4 (01Jul16): Build OS: x86_64-pc-linux-gnu debian Debian GNU/Linux 8.0 (jessie) JobId: 47 Job: backup-nmanwme01-fd.2017-11-10_14.48.42_09 Backup Level: Incremental, since=2017-11-10 13:38:43 Client: "nmanwme01-fd" 16.2.4 (01Jul16) x86_64-pc-linux-gnu,ubuntu,Ubuntu 16.04 LTS,xUbuntu_16.04,x86_64 FileSet: "LinuxAll" 2017-11-04 04:00:00 Pool: "Incremental" (From command line) Catalog: "MyCatalog" (From Client resource) Storage: "File" (From Job resource) Scheduled time: 10-Nov-2017 14:48:42 Start time: 10-Nov-2017 14:48:48 End time: 10-Nov-2017 14:48:48 Elapsed time: 0 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 VSS: no Encryption: no Accurate: no Volume name(s): Volume Session Id: 0 Volume Session Time: 0 Last Volume Bytes: 0 (0 B) Non-fatal FD errors: 1 SD Errors: 0 FD termination status: SD termination status: FD Secure Erase Cmd: <NULL> SD Secure Erase Cmd: <NULL> Termination: *** Backup Error *** What could be the mistake? Thank you in advance for your support. Greetings from Stefan Harbich -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
