On 12/28/2005 8:29 AM Martin Simmons wrote:

On Tue, 27 Dec 2005 11:10:16 +0100, Julien Cigar <[EMAIL PROTECTED]> said:

 Julien> Hello,
 Julien> I have some problems to exclude some files.
 Julien> My fileset looks like this :

 Julien> FileSet {
 Julien>         Name = canis-fs

 Julien>         Include {
 Julien>                 Options {
 Julien>                         #compression = GZIP6
 Julien>                         IgnoreCase = no
 Julien>                         signature = MD5
 Julien>                         recurse = yes
 Julien>                         onefs = yes
 Julien>                 }
 Julien>                 @/etc/bacula/includes/global
 Julien>                 @/etc/bacula/includes/canis
 Julien>         }

 Julien>         Include {
 Julien>                 Options {
 Julien>                         IgnoreCase = yes
 Julien>                         Exclude = yes
 Julien>                         @/etc/bacula/excludes/global
 Julien>                 }
 Julien>         }
Julien> Exclude {
 Julien>                 File = /home/sys_samba/shares/bebif/pictures
 Julien>                 File = core
 Julien>         }
 Julien> }

 Julien> in /etc/bacule/excludes/global I have :
 Julien> WildFile = "*.mp3"
 Julien> WildFile = "*.mpc"
 Julien> WildFile = "*.ogg"
 Julien> WildFile = "*.wav"
 Julien> WildFile = "*.bak"
 Julien> WildFile = "*.tmp"
 Julien> WildFile = "*.pyc"

 Julien> but bacula backup continues to backup those files :

Julien> Enter Filename (no path): My Dying Bride - The Light At The End Of The Julien> World - 01 - She Is The Dark.mpc
 Julien> 
+-------+----------+-----------------------------------------------------------------------------+-------------------------------------------------------------------------------+---------------------+-------+----------+-------------+
Julien> | JobId | Client | Julien> Path.Path Julien> | Julien> Filename.Name Julien> | StartTime | Level | JobFiles | JobBytes |
 Julien> 
+-------+----------+-----------------------------------------------------------------------------+-------------------------------------------------------------------------------+---------------------+-------+----------+-------------+
Julien> | 9 | canis-fd | Julien> /home/jcigar/audio/My_Dying_Bride_-_The_Light_at_the_End_of_the_World/ | Julien> My Dying Bride - The Light At The End Of The World - 01 - She Is The Julien> Dark.mpc | 2005-12-19 03:00:02 | F | 500673 | 85791660261 |
 Julien> ...
 Julien> what did i miss ?

What is in /etc/bacula/includes/global and /etc/bacula/includes/canis?  If
they contain any Options clauses with wild/regex patterns then these might
match before the exclude.

__Martin


Please excuse me if this has already been discussed. I have missed most of the thread. However, there is some known issue regarding excludes and wildcard pattern matching with Bacula 1.36.x when it is running on FreeBSD. It may persist in the newest version too. I can't remember the details but if you're using FreeBSD, you might want to search the archives.

HTH,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to