Hello,
Le samedi 17 avril 2010 03:22:37, John Huttley a écrit :
> Hi all,
>
> I'm attempting to mark a volume as used at the end of a backup.
>
> The job has
> RunScript {
> RunsWhen=After
> console= "update volume=%v volstatus=used"
> }
>
> The %v doesn't seem to have a value.
> The result is
>
> shell command: run ClientAfterJob "update volume= volstatus=used"
>
> looks like a bug?
Yes, looks like a documentation bug, or a new feature request. The function
used to replace %v by the current volume name is used in many places, and
during runscript, the jcr->VolumeName is empty.
In any cases, if your job uses two volumes, I'm not sure that this command
will work as you want.
Bye
> --john
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel