Stephan Ebelt wrote:
Another test would be to try the same with RunAfterJob. And see what
happens then. I'll do that later.
ok, just tried. It behaves similar with one difference: the RunAfterJob
failure is reported at the end of the output. Not at the beginning as
with ClientRunAfterJob.
22-Sep 16:06 dd-lx-backup.dd.net-linx: RunBefore: run before job: exit
with 0
22-Sep 16:06 dd-lx-backup.dd.net-linx: Start Backup JobId 1049,
Job=testjob.2005-09-22_16.06.39
22-Sep 16:06 dd-lx-backup.dd.net-linx: Volume "disk4-0009" previously
written, moving to end of data.
22-Sep 16:06 dd-lx-backup.dd.net-linx: Bacula 1.36.3 (22Apr05):
22-Sep-2005 16:06:44
JobId: 1049
Job: testjob.2005-09-22_16.06.39
Backup Level: Incremental, since=2005-09-22 16:04:18
Client: dd-lx-backup
FileSet: "SystemConfig-UNIX" 2005-08-05 21:36:15
Pool: "disk4"
Storage: "disk4"
Start time: 22-Sep-2005 16:06:40
End time: 22-Sep-2005 16:06:44
FD Files Written: 1
SD Files Written: 1
FD Bytes Written: 15,427,565
SD Bytes Written: 15,427,667
Rate: 3856.9 KB/s
Software Compression: None
Volume name(s): disk4-0009
Volume Session Id: 57
Volume Session Time: 1127203794
Last Volume Bytes: 39,266,431,731
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK
22-Sep 16:06 dd-lx-backup.dd.net-linx: Begin pruning Jobs.
22-Sep 16:06 dd-lx-backup.dd.net-linx: No Jobs found to prune.
22-Sep 16:06 dd-lx-backup.dd.net-linx: Begin pruning Files.
22-Sep 16:06 dd-lx-backup.dd.net-linx: No Files found to prune.
22-Sep 16:06 dd-lx-backup.dd.net-linx: End auto prune.
22-Sep 16:06 dd-lx-backup.dd.net-linx: RunAfter: run after job: exit with 5
22-Sep 16:06 dd-lx-backup.dd.net-linx: testjob.2005-09-22_16.06.39
Warning: RunAfterJob error: ERR=Child exited with code 5
so the return code is recognized. But the job does not fail as described
in the manual.
Stephan
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users