Re: [Bacula-users] Client Run Before Job and client connection to fd.

2012-01-27 Thread Martin Simmons
> On Fri, 27 Jan 2012 20:05:03 +0200, Jari Fredriksson said: > > I have a feeling that the client must be connected > to the SD before the script is run. Is that the case? Yes. __Martin -- Try

Re: [Bacula-users] Client Run Before job

2007-10-04 Thread Scott Ruckh
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 I

Re: [Bacula-users] Client Run Before job

2007-10-04 Thread Steve Campbell
Scott, Here I am being difficult again, but my dir, fd, sd, and MySql are all on the same box. This is not a separate host type job. I run that job once a day, and as far as I can tell, it works fine. The difference is that there a few different ways of running a script RunScript RunBeforeJob

Re: [Bacula-users] Client Run Before job

2007-10-04 Thread Scott Ruckh
> Thanks Scott, > > Can I assume the script does all of the waiting required before starting > the data backup? How would this differ from just setting up a shell > script that has a mysqldump statement in it? I don't read Perl real well > and didn't see anything that does that (at least based on m

Re: [Bacula-users] Client Run Before job

2007-10-04 Thread Steve Campbell
Thanks Scott, Can I assume the script does all of the waiting required before starting the data backup? How would this differ from just setting up a shell script that has a mysqldump statement in it? I don't read Perl real well and didn't see anything that does that (at least based on my knowle

Re: [Bacula-users] Client Run Before job

2007-10-04 Thread Scott Ruckh
- Original Message - From: "Steve Campbell" <[EMAIL PROTECTED]> To: Sent: Thursday, October 04, 2007 8:05 AM Subject: [Bacula-users] Client Run Before job >I gave up a while back on getting a job to run on the client before > doing the backup. Mostly all I am trying to do is get an MyS

Re: [Bacula-users] Client Run Before Job question

2006-08-11 Thread Eric Bollengier
Hi, >I haven't tried this yet, but I figured I'd ask. Is it possible to >have multiple "Client Run Before Job" options for the Job directive? This is implemented in version 1.39 with RunScript feature. Bye - Using Tomcat

Re: [Bacula-users] Client Run Before Job question

2006-08-10 Thread Hristo Benev
Brian McCann wrote: > I haven't tried this yet, but I figured I'd ask. Is it possible to > have multiple "Client Run Before Job" options for the Job directive? > > Thanks! > --Brian > > I think that it will be easier to create a script or batch file that will do all the job and run it once. Fo

Re: [Bacula-users] Client Run Before Job script failing.

2006-06-09 Thread Will McDonald
> I I said before, I'll try a wrapper and see if that bypasses the > environmental problems my scripts are having running directly by the > File Daemon. Just for the archives, calling a simple wrapper script in Client Run Before Job which in turn called the backup_mysql script (and the backup scri

Re: [Bacula-users] Client Run Before Job script failing.

2006-06-08 Thread Will McDonald
On 07/06/06, Scott Ruckh <[EMAIL PROTECTED]> wrote: > >> I am using, > >> http://worldcommunity.com/opensource/utilities/mysql_backup.html, to > >> backup my databases from Bacula Director (ClientRunBeforeJob). > >> > >> ClientRunBeforeJob= "/usr/local/bin/mysqlbackup/mysqlbackup.pl" > >> > >> This

Re: [Bacula-users] Client Run Before Job script failing.

2006-06-08 Thread Will McDonald
On 07/06/06, Georger Araujo <[EMAIL PROTECTED]> wrote: > Possible solutions below. > > 1. Try sudo. That's a possibility. All hosts have a standardised sudo config, adding in a few entries for backing databases would be do-able. > 2. How do you connect to MySQL locally, TCP/IP or > socket? In tha

Re: [Bacula-users] Client Run Before Job script failing.

2006-06-07 Thread Georger Araujo
Possible solutions below. 1. Try sudo. 2. How do you connect to MySQL locally, TCP/IP or socket? In that case, you might want to log into MySQL as root and SELECT User, Host, Password FROM mysql.user; to see if your passwords are OK. My output is as follows: ++-+

Re: [Bacula-users] Client Run Before Job script failing.

2006-06-07 Thread Scott Ruckh
-- > The Bacula Director and Storage daemons are running as bacula on the > backup server. The Bacula File Daemon running on the clients is > running as use root, group bacula. As the script's running on the > client I'd have thought it'd execute as root, and it is. > >> I am using, >> http://wo

Re: [Bacula-users] Client Run Before Job script failing.

2006-06-07 Thread Will McDonald
On 07/06/06, Scott Ruckh <[EMAIL PROTECTED]> wrote: > This is what you said Will McDonald > > Hi all. Tried to send this mail yesterday and it appeared to bounce. > > Apologies if this is a duplicate. > > > > I have a problem with a Client Run Before Job script to backup MySQL > > databases which i

Re: [Bacula-users] Client Run Before Job script failing.

2006-06-07 Thread Scott Ruckh
-- This is what you said Will McDonald > Hi all. Tried to send this mail yesterday and it appeared to bounce. > Apologies if this is a duplicate. > > I have a problem with a Client Run Before Job script to backup MySQL > databases which is only occurring when it's called by Bacula. > > On the Di