Re: [Bacula-users] RunAfterJob

2018-06-06 Thread Bill Arlofski
On 06/06/2018 08:48 AM, Donna Hofmeister wrote: > In a job{} definition, is it possible/advisable/wise to have multiple > RunAfterJob statements? Hello Donna, Yes, it is possible. > If so, does N+1 wait on N to complete?          - d Yes. However, there is not a 100% guarantee that they will

Re: [Bacula-users] RunAfterJob

2018-06-06 Thread Dan Langille
> On Jun 6, 2018, at 10:48 AM, Donna Hofmeister wrote: > > In a job{} definition, is it possible/advisable/wise to have multiple > RunAfterJob statements? > > If so, does N+1 wait on N to complete? - d I understand it is possible. My preference would be just one. Make is a /bin/sh sc

[Bacula-users] RunAfterJob

2018-06-06 Thread Donna Hofmeister
In a job{} definition, is it possible/advisable/wise to have multiple RunAfterJob statements? If so, does N+1 wait on N to complete? - d -- Donna Hofmeister Allegro Consultants, Inc. 408-252-2330 Visit us on Linkedin Like us on

Re: [Bacula-users] Runafterjob issue

2012-10-04 Thread Wouter van Marle
Related issues I just ran into improving my script. The RunAfterJob now reads (one line): RunAfterJob = "/bin/sh -c \"echo '/usr/local/bin/glacier-cmd --logtostdout upload Squirrel_backup %v \\\"%j (%l, since %s)\\\" ' | batch\"" Which results in these messages (two lines): > 04-Oct 21:43 acor

Re: [Bacula-users] Runafterjob issue

2012-10-04 Thread Wouter van Marle
That works, thanks for the quick reply! Would be nice to have this mentioned in the docs, if it's there I totally missed it. Writing a real script is of course easy, it's just messy and harder to see what's going on if I revisit this which may be years from now. Wouter. > To not mess with writi

Re: [Bacula-users] Runafterjob issue

2012-10-04 Thread Konstantin Khomoutov
On Thu, Oct 04, 2012 at 12:38:44PM +0800, Wouter van Marle wrote: [...] > RunAfterJob = "echo '/usr/local/bin/glacier-cmd --logtostdout upload > Squirrel_backup %v' | batch" > > Running this command (replacing the %v with an actual file name of > course) from the command line works fine. The proc

[Bacula-users] Runafterjob issue

2012-10-03 Thread Wouter van Marle
Hi all, I'm trying to launch a runafterjob script to upload my just created archive to another server. As this can take long - a day or so, and other backup jobs are to be run (I have three jobs: two backup jobs of separate parts of the system plus the database backup), I intend to do this uploa

[Bacula-users] RunAfterJob to eject tape works on successful jobs, but hangs bacula forever on cancelled jobs

2012-10-01 Thread Jesse Osby
I'm actually having this same problem on two different bacula setups for two different clients. Details are: Bacula 5.0.3 on CentOS 5.3 x86 -- HP StorageWorks 8-slot LTO3 changer Bacula 5.2.12 on CentOS 5.8 x86 -- Dell PV-124T 16-slot LTO3 changer I'll give specifics on the 1st setup, t

[Bacula-users] RunAfterJob %v on CopyJob

2010-11-24 Thread Dan Langille
I have this in a Job: RunAfterJob = "/home/dan/bin/dlt-stats-kraken %l %v" The job output appears below. The key item: the write volume is ETU006 However, the %v value is: FileAuto-1305, which is the read volume. I can see the case for needing both values in the script. I'm guessing we ne

[Bacula-users] RunAfterJob when verify differences fails...

2010-06-10 Thread Kalin Damyanov
Hi! Im trying to find a work around this problem: Im using nagios to receive bacula notifications of the jobs exit status. So, my problem is that the afterjobs scripts are executed by bacula after every job (backup or catalog init ) except when the exit status is of the job "Verify Differences"

[Bacula-users] RunAfterJob when verify differences fails...

2010-06-10 Thread Kalin Damyanov
Hi! Im trying to find a work around this problem: Im using nagios to receive bacula notifications of the jobs exit status. So, my problem is that the afterjobs scripts are executed by bacula after every job (backup or catalog init ) except when the exit status is of the job "Verify Differences"

Re: [Bacula-users] RunAfterJob and Environment

2010-01-27 Thread ganiuszka
Dirk H. Schulz pisze: > Does Bacula call a "RunAfterJob" script with certain environment > variables or arguments like e.g. jobid, jobname, success/failure, etc.? Hi Yes, there is able to define environment variables in "Run After Job" directive, e.g. %c = Client's name %d = Director's name %e

[Bacula-users] RunAfterJob and Environment

2010-01-27 Thread Dirk H. Schulz
Hi folks, I searched documentation for that but did not find any hint, neither positive nor negative: Does Bacula call a "RunAfterJob" script with certain environment variables or arguments like e.g. jobid, jobname, success/failure, etc.? Dirk

Re: [Bacula-users] RunAfterJob with vars to release the tape

2009-05-08 Thread Arno Lehmann
Hi, 07.05.2009 14:04, francisco javier funes nieto wrote: > Hi All, > > I'm setting up a Bacula server on top of a LVM-based storage Samba > Server. (Debian Lenny/Bacula 3.0.1 from sources/ x86_64 machine / LTO3 > Tape) > > The RunBeforeJob script create the LVM snapshots of the LVs that I > wan

[Bacula-users] RunAfterJob with vars to release the tape

2009-05-07 Thread francisco javier funes nieto
Hi All, I'm setting up a Bacula server on top of a LVM-based storage Samba Server. (Debian Lenny/Bacula 3.0.1 from sources/ x86_64 machine / LTO3 Tape) The RunBeforeJob script create the LVM snapshots of the LVs that I want to backup, then mounts it and Bacula do the rest. That's fine. The Schedu

Re: [Bacula-users] RunAfterJob

2009-01-05 Thread Graham Keeling
On Mon, Jan 05, 2009 at 09:33:12AM +0100, Angel wrote: > On job completion i need to clean up stale processes and fifos, but the > After Script was never ran. > > Anyone have tried custom restore jobs (with Before/After scripts)? Yes, it works for me and this is how I did it: Job { Name = "x-r

Re: [Bacula-users] RunAfterJob

2009-01-05 Thread Angel
El Lunes, 5 de Enero de 2009 Angel escribió: > Angel Alvarez wrote: > > Hi > > Does bacula honor the RunAfterJob option for restore jobs? > > I don't know. > > Have you tried? > Yes i did but no success Im making the postgres wiki backup and on restore i create the pg_restore (/bin/dd's for te

Re: [Bacula-users] RunAfterJob

2009-01-04 Thread Dan Langille
Angel Alvarez wrote: > Hi > Does bacula honor the RunAfterJob option for restore jobs? I don't know. Have you tried? -- ___ Bacula-users mailing list Bacula-users@lists.sourcef

[Bacula-users] RunAfterJob

2009-01-04 Thread Angel Alvarez
Hi Does bacula honor the RunAfterJob option for restore jobs? Thanks in advance,Angel -- No lea este correo si no es necesario. El buen ambiente está en nuestras manos. ->>--- Clist UAH a.k.a Angel -[www.uah.es]-<<--

Re: [Bacula-users] RunAfterJob in bacula 2.2.4 [APPENDING RunBeforeJob]

2007-09-27 Thread Scott Ruckh
Original Message - From: "Steve Thompson" <[EMAIL PROTECTED]> To: Sent: Thursday, September 27, 2007 10:57 AM Subject: [Bacula-users] RunAfterJob in bacula 2.2.4 >I recently upgraded bacula from 2.0.3 to 2.2.4 on my director system > (CentOS 4.5 i686). Since the

[Bacula-users] RunAfterJob in bacula 2.2.4

2007-09-27 Thread Steve Thompson
I recently upgraded bacula from 2.0.3 to 2.2.4 on my director system (CentOS 4.5 i686). Since then, the RunAfterJob can no longer be successfully started (not even once): 27-Sep 11:36 XXX-dir: AfterJob: run command "/etc/bacula/after_catalog_backup" 27-Sep 11:36 XXX-dir: AfterJob: Bad address T

Re: [Bacula-users] RunAfterJob

2007-06-16 Thread [EMAIL PROTECTED]
Hello, > On 6/15/2007 11:07 PM, [EMAIL PROTECTED] wrote: > >> Hello Arno, Hello List, >> >> i found this in google: >> http://mailinglist-archive.com/bacula.user/2003-10/msg00407.html >> >> Mr. Kern added the %v option, but it seems it either got removed in >> bacula 2.0.3 or it changed. >> >>

Re: [Bacula-users] RunAfterJob

2007-06-15 Thread Arno Lehmann
Hi, On 6/15/2007 11:07 PM, [EMAIL PROTECTED] wrote: > Hello Arno, Hello List, > > i found this in google: > http://mailinglist-archive.com/bacula.user/2003-10/msg00407.html > > Mr. Kern added the %v option, but it seems it either got removed in > bacula 2.0.3 or it changed. > > Then i finally

Re: [Bacula-users] RunAfterJob

2007-06-15 Thread [EMAIL PROTECTED]
Hello Arno, Hello List, i found this in google: http://mailinglist-archive.com/bacula.user/2003-10/msg00407.html Mr. Kern added the %v option, but it seems it either got removed in bacula 2.0.3 or it changed. Then i finally found the substitution list: http://www.bacula.org/dev-manual/DVD_Volu

Re: [Bacula-users] RunAfterJob

2007-06-15 Thread Arno Lehmann
Hi, On 6/15/2007 5:21 PM, [EMAIL PROTECTED] wrote: > Hello List, > > i would like to do something with each created volume. With or to the volumes? ;-) > By using the RunAfterJob command and the %v variable it turned out, that > %v contains only the last volume. Jup. > For example: > After

[Bacula-users] RunAfterJob

2007-06-15 Thread [EMAIL PROTECTED]
Hello List, i would like to do something with each created volume. By using the RunAfterJob command and the %v variable it turned out, that %v contains only the last volume. For example: After a Full Job created 12 Volumes, each 250MB big, the command here: RunAfterJob = "md5sum %v" Results in

[Bacula-users] RunAfterJob script in case the job fails ?

2006-02-24 Thread Florian Daniel Otel
Hello all, Any suggestions on how to trigger a script after the job terminates in failure / is canceled / etc? AFAICT the "RunAfterJob" script is run only when the job terminates successfully. Of course, one could possibly wish that the "RunAfterJob" script can be run with a job exit status / err

Re: [Bacula-users] RunAfterJob Script

2005-12-19 Thread Martin Simmons
> On Sun, 18 Dec 2005 20:55:44 +0100, Mario Ohnewald <[EMAIL PROTECTED]> > said: Mario> i have this simple RunAfterJob script: Mario> RunAfterJob = "/bin/sh -c 'echo %v > /tmp/vout'" Mario> and i get the error: Mario> RunAfter: /bin/sh: TestVolume0017: command not found Mario>

[Bacula-users] RunAfterJob Script

2005-12-18 Thread Mario Ohnewald
Hello List, i have this simple RunAfterJob script: RunAfterJob = "/bin/sh -c 'echo %v > /tmp/vout'" and i get the error: RunAfter: /bin/sh: TestVolume0017: command not found RunAfter: /bin/sh: TestVolume0018: command not found IF i run a incremental backup and i only need one BackupVolume, th

[Bacula-users] RunAfterJob %v question

2005-08-10 Thread Aragon Gouveia
Hi, Regarding the volume name substitution in RunAfterJob, how is %v substituted if a single Job instance spans over multiple volumes? Thanks, Aragon --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005