Bacula-users

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

2009-05-08 14:42:02
Subject: Re: [Bacula-users] RunAfterJob with vars to release the tape
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 08 May 2009 20:35:48 +0200
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
> want to backup, then mounts it and Bacula do the rest. That's fine.
> The Schedule makes one Full backup on Sunday and Incremental from
> Monday to Friday.
> 
> The problem i have found relates with the release of the tape.
> 
> The Full backup must release the tape after the job is finished but
> the Incremental must use the same tape for all the 5 days and the
> RunAfterJob script doesn't works if I release the tape without
> querying what type of backup i'm making.
> 
> It's possible to know what type of backup i'm making from the
> RunAfterJob to release or not the tape depending of the type of the
> backup?.

Have you tried using "%l" as a parameter to pass to the Run Script? 
See 
http://www.bacula.org/manuals/en/install/install/Configuring_Director.html#character_substitution

Arno

> I'm stuck with this from now... any ideas?
> 
> Best regards..
> 
> Javier
> 
> 
> 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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>