Bacula-users

[Bacula-users] File-set include/exclude questions

2008-04-23 18:21:06
Subject: [Bacula-users] File-set include/exclude questions
From: "Israel Miranda" <programadorlinux AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 23 Apr 2008 19:20:50 -0300
Hi there guys.

   I'm configuring bacula to backup thunderbird data in different machines, and to not define a fileset to each machine I'm
trying to define a wilddir option that matches every user data in any machine, but it didn't worked.
That's the file-set:

FileSet
{
  Name = "thunderbird-file-set"
  Enable VSS = yes
  Include
  {
     Options
     {
       signature = MD5         #Create MD5 Signature
       compression=GZIP       #Compress Incoming Data on the client
       WildDir = "\"c:/Documents and Settings/*/Dados de aplicativos/Thunderbird/Profiles/\""
     }
    
  }
}

I know there's a include file option missing but that's the point:
I don't want to include the whole Documents and Settings directory to exlcude all the other except the one I want to back up. I read the 11th chapter of the manual, and there is no example of what I want, which is just include a wildcard/regex to backup what I want, without including a directory to later exclude what I don't need. It seemed to me that there is no way of doing it the way I want(without an exclude option).
The concept of including a wider selection to then exclude what I don't need seems bizarre to me.
Would be nice if bacula director accept this config without error:

FileSet
{
  Name = "thunderbird-file-set"
  Enable VSS = yes
  Include
  {
     Options
     {
       signature = MD5         #Create MD5 Signature
       compression=GZIP       #Compress Incoming Data on the client
     }
     WildDir = "\"c:/Documents and Settings/*/Dados de aplicativos/Thunderbird/Profiles/\""
  }
}

but bacula doesn't start and outputs this error:
Restarting Bacula Director: 23-Abr 19:04 bacula-dir: ERROR TERMINATION at inc_conf.c:378
Config error: Keyword WildDir not permitted in this resource

Thanks in advance.


--
Meus cumprimentos,

Israel Vinícius Nogueira Miranda
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>