Bacula-users

[Bacula-users] FW: ClientRunBeforeJob problem

2009-01-29 01:43:28
Subject: [Bacula-users] FW: ClientRunBeforeJob problem
From: "Ken Barclay" <ken.barclay AT qbmore DOT com>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 29 Jan 2009 13:39:00 +0700 (ICT)

Strange how you can spend time trying this and that, and get nowhere.  But, then you sit back and look at the email that you just sent to ‘the list’ and immediately the problem stares you right in the face.

I missed the quotation mark (“) at the end of the command statement!

 

Sorry. 

 

Ken

 

From: Ken Barclay [mailto:ken.barclay AT qbmore DOT com]
Sent: Thursday, 29 January 2009 11:47 AM
To: bacula-users AT lists.sourceforge DOT net
Subject: [Bacula-users] ClientRunBeforeJob problem

 

Hello All,

 

I set up a job with a ‘ClientRunBeforeJob’ command as shown below, but there seems to be a problem.  [Probably something I’m doing wrong]

 

With the ‘ClientRunBeforeJob’ in place, when I go to bconsole I can see the Client in ‘status client’, but it doesn’t show up in ‘status director’;  consequently the job doesn’t run.  However, if I comment out (#) that line, all is fine.

 

Is there something wrong with my command?  I also tried it with –u admin –p<password>, but nothing.

 

Using Bacula 2.2.7 – yes I know, due for an upgrade.  But any ideas?

 

Job {

  Name = "Zabbix162"

  Client = Zabbix-1.6-fd

  JobDefs = "Zabbix162Job"

  ClientRunBeforeJob = "/usr/bin/mysqldump --single-transaction --quick --all-databases > /dbBackup/DbDump.sql

  Schedule = "Zabbix162Schedule"

  Write Bootstrap = "/var/lib/bacula/Zabbix162.bsr"

}

 
 

 

 

 

 

 

 

 

 

 

 


Thanks for any assistance.

 

Ken Barclay

 

 

Attachment: ATT00103.txt
Description: Text document

Attachment: ATT00106.txt
Description: Text document

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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>