Re: [Bacula-users] Passing volume name to run before script.
2008-11-09 16:24:10
--- On Sun, 11/9/08, Timo Neuvonen <timo-news AT tee-en DOT net> wrote:
> From: Timo Neuvonen <timo-news AT tee-en DOT net>
> Subject: Re: [Bacula-users] Passing volume name to run before script.
> To: bacula-users AT lists.sourceforge DOT net
> Date: Sunday, November 9, 2008, 6:30 AM
> "Hemant Shah" <hjrrs AT yahoo DOT com> kirjoitti
> viestissä
> news:643032.91907.qm AT web51603.mail.re2.yahoo DOT com...
> >
> > I have following in my job description:
> > RunAfterJob =
> "/usr/local/etc/ChangeTapeStatusToUsed %v"
> > but when the script is executed it does not get the
> volume name.
>
> >
> > What am I doing wrong?
> >
>
> I think I've sometimes tried to do something similar to
> this. I think the
> problem was, that the volume name is not known before the
> job starts
> running.
> So, %v could be used in error messages etc during the job,
> but not before
> job. This would mean there were no easy workaround.
>
> --
> TiN
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move
> Developer's challenge
> Build the coolest Linux based applications with Moblin SDK
> & win great prizes
> Grand prize is a trip for two to an Open Source event
> anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
This script runs after the backups are done so volume name should be available.
Hemant Shah
E-mail: hjrrs AT yahoo DOT com
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|