Bacula-users

[Bacula-users] Client Run Before Job overriding

2012-03-28 18:59:43
Subject: [Bacula-users] Client Run Before Job overriding
From: Jérôme Blion <jerome.blion AT free DOT fr>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 29 Mar 2012 00:57:34 +0200
Hello,

I use the following jobdefs definition:

JobDefs {
   Name = "MysqlFullJob"
   Type = Backup
   Level = Full
   Client = myserver-fd
   Fileset = "Mysql Full"
   Schedule = "OneFullPerDay"
   Storage = File
   Messages = Standard
   Pool = File
   Priority = 10
   Maximum Concurrent Jobs = 20
   Accurate = yes
   Client Run Before Job = /etc/bacula/scripts/mysql_backup.sh
}

Here is my job definition:

Job {
   Name = "Backup_bckclient_mysql"
   Client = bckclient-fd
   JobDefs = "MysqlFullJob"
   Client Run Before Job = /usr/local/bacula/etc/scripts/mysql_backup.sh

}

The client has not been installed as all other ones, I would like to 
replace the value of Client Run Before job.
With this setup, both commands run... and the one defined in the jobdefs 
definition fails...

How could I do it ? (I would like to avoid to create an entire jobdefs 
for one machine)

Best regards.
Jerome Blion.



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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>
  • [Bacula-users] Client Run Before Job overriding, Jérôme Blion <=