--- On Sun, 11/9/08, Timo Neuvonen <[EMAIL PROTECTED]> wrote:
> From: Timo Neuvonen <[EMAIL PROTECTED]> > Subject: Re: [Bacula-users] Passing volume name to run before script. > To: bacula-users@lists.sourceforge.net > Date: Sunday, November 9, 2008, 6:30 AM > "Hemant Shah" <[EMAIL PROTECTED]> kirjoitti > viestissä > news:[EMAIL PROTECTED] > > > > 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@lists.sourceforge.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: [EMAIL PROTECTED] ------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users