[Bacula-users] Client Run Before Job overriding

2012-03-28 Thread Jérôme Blion
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 =

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

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

2012-01-27 Thread Jari Fredriksson
I have a direct connection from my dir to the fd. But the fd can't connect to sd or dir. OK, I set up an ssh-client with port listener for sd for the client. I try to launch this connection via Client Run Before Job. But it does not work. I have a feeling that the client must be connected to the

[Bacula-users] Client Run Before Job problem

2008-01-21 Thread Frank Enderle
hi, i have a client (a database server) on which i use a 'Client Run Before Job' directive to dump the database before the backup. this takes about 4 hours to complete, after that i get an authentication error with the storage daemon. when i deactivate the 'Client Run Before Job' statement everyth

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
[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 MySQL backup &g

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

[Bacula-users] Client Run Before job

2007-10-04 Thread Steve Campbell
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 MySQL backup (mysqldump) to run before I do a backup job that includes the file just created. As I recall, I was having a problem with the return code indicating the job

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

[Bacula-users] Client Run Before Job question

2006-08-10 Thread Brian McCann
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 -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems & Network Administrator, K12USA "I don't have to take this abuse from yo

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

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

2006-06-07 Thread Will McDonald
Hi all. 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 Director I have: [EMAIL PROTECTED] scripts]# cat /etc/redhat-release; rpm -qa | grep bacula; ps aux | grep [b]acula CentOS release 4.3 (Final) bacula-

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

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

2006-06-07 Thread 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 Director I have: [EMAIL PROTECTED] scripts]# cat /etc/r