Hi all,

I'm running old Bacula 5.2.6 with LTO-4 tapes and trying to add a test job that will execute a script from the director:

 RunScript {
         RunsWhen = after
         RunsOnClient = no
         RunsOnFailure = yes
         FailJobOnError = no
         Command = "/etc/bacula/scripts/test.sh %i"
       }

I hoped that it would be enough to supply:

  Name = script_test
  Type = Admin

but it keeps complaining:

sudo service bacula-director start

[....] Starting Bacula Director...: bacula-dir10-Apr 09:32 bacula-dir ERROR TERMINATION
"pool" directive in Job "script_test" resource is required, but not found.
 failed!

[....] Starting Bacula Director...: bacula-dir10-Apr 09:34 bacula-dir ERROR TERMINATION
"client" directive in Job "script_test" resource is required, but not found.
 failed!

etc.

Is it possible to define a job not involving a client, file set and tapes?

This is a production system and all I want it to do is test running a script without having to create an entire dummy structure, change tapes etc.

Please advise.

Regards,
Adam



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to