Hello,

2013/5/2 Renan Gonçalves <renan.sad...@gmail.com>

> Hi bacula users,
>
> Given the following restore job scrap:
>
> ```
> Job {
>   Name = "RestoreJob"
>   Type = restore
>   ...
>   RunScript {
>      Command = "sh -c 'do something with %where'"
>   }
> }
> ```
>
> When scheduling a new restore I dynamically set the `Where` property.
> I use before/after commands to fix some permissions issues, yet I need to
> have a way to dynamically get the `Where` property into my command.
>
> Is there a way to reference `Where` in my RunScript command?
>
>
If you check a manual for RunScript variables substitution then you'll find
that 'Where' property is not available. If you need this, just prepare a
patch.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to