hi

Michal Medvecký wrote:
> luyigui loholhlki napsal(a):
>> hi
>> i want to split the bacula-dir.conf file to different files (one file
>> by client)
>> is that realizable???? if yes : how??
>> thanks in advance
>>
>>
> @ stands for include
> 
> example:
> 
> @/etc/bacula/hosts/test.host
> 


i have a similar problem (so i hijack this thread)...

i have a general FileSet resource which i use for all my clients.
however, i want to adjust some client specific excludes on a per-host basis.
currently i do something like

<SNIP>
# List of files to be backed up
FileSet {
   Name = "FullFileSet"
   Include {
     Options {
       fstype=ext2,jfs,ntfs,reiserfs,xfs
       onefs=no
       signature = MD5
       wilddir="*/tmp"
       exclude = yes
     }
     File = /
   }

   Exclude {
     File = "\\</etc/bacula/client_exclude.conf"
   }
}
</SNIP>


this works ok, the "File" directive is fed by the file on the 
client-machine.

however, i would prefer to have all these files on the director host, 
and include them based on the job running.

something like:

  File = "</etc/bacula/${jobname}_exclude.conf"


is this possible, or is just idle thinking?


mfga.sdr
IOhannes


-- 
IEM - network operation center
mailto:[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to