Hi,
i'm trying to use internal bacula-variables in bacula-dir.conf in the 
fileset-section:


File = "|sh -c 'grep -i -s \"^$Client\" /path/to/bacula/etc/test-disklist | cut 
-f2 -d@ '"

The corresponding test-disklist is:

# test-disklist
# format: hostname@/path/to/backup-dir_or_file
#
hostname1@/tmp/xxx/dir1
hostname1@/tmp/xxx/file1
hostname2@/var/spool/dir-xxx
hostname3@/home/username

During runtime the internal bacula-variable $Client ( i also tried ${Client} 
with and without '\' ) is always empty so every line is matched.
How to do ?

Thanks,
  Markus
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to