This is what you said Steve Campbell
> Scott,
>
> Here I am being difficult again, but my dir, fd, sd, and MySql are all
> on the same box.

Same environment I am running...

> The difference is that there a few different ways of running a script
>
> RunScript
> RunBeforeJob
> ClientRunBeforeJob

In my original response I posted this from my bacula-dir.conf file:

ClientRunBeforeJob= "/usr/local/bin/mysqlbackup/mysqlbackup.pl"

mysqlbackup.pl is the script which was mentioned in my first response.

>
> The first and last are capable of kicking off a script on a separate
> host. Assume I have server1 as the bacula dir, sd, fd, MySql server. I
> then want to kick off a job that starts a script to mysqldump databases
> on another server

I have a windows client (FD) and it job definition contains the following:

ClientRunBeforeJob = "\"C:/Program Files/Bacula/bin/backup_systemstate.bat\""

This job is run on the windows FD and not the director.  Is this what you
are talking about?

Otherwise possibly you want to kick off a script from one server that
actually runs on the other server.  I am not sure I am following.  In that
case possibly you want to use SSH (to connect to other server) and Public
Key Authentication (so password does not have to be entered) so you can
run a script remotely (possibly using sudo for the account used to make
the connection)?

> I am running MySql 3.23, so there may be some limitations on the
> utilities I have available for MySQL. I believe there are some new
> utilities that will dump across networks, etc in newer versions.
>

I was running MySQL 3.23 with the previously mentioned MySQL backup
script.  I only recently upgraded to MySQL 5.0.45.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to