Bacula-users

Re: [Bacula-users] Excluding directories based on file names

2008-07-17 09:29:34
Subject: Re: [Bacula-users] Excluding directories based on file names
From: Dan Langille <dan AT langille DOT org>
To: Martin Simmons <martin AT lispworks DOT com>
Date: Thu, 17 Jul 2008 09:28:33 -0400
On Jul 17, 2008, at 5:23 AM, Martin Simmons wrote:

>>>>>> On Wed, 16 Jul 2008 15:19:33 -0400, Dan Langille said:
>>
>> On Jul 16, 2008, at 2:36 PM, Martin Simmons wrote:
>>
>>>>>>>> On Wed, 16 Jul 2008 09:44:03 -0700, Mark Nienberg said:
>>>>
>>>> Chris Howells wrote:
>>>>> Hi,
>>>>>
>>>>> I would like to configure bacula to exclude directories (and their
>>>>> subdirectories), from my backup, if that directory contains a
>>>>> file with
>>>>> a particular name. As an example, to manage the amount that we
>>>>> backup,
>>>>> we 'touch DO-NOT-BACKUP' in directories that need not be backed
>>>>> up to
>>>>> automatically get them excluded from the backup without having to
>>>>> manually mess around with exclude lists.
>>>>>
>>>>
>>>> This feature has already been added to the bacula version 3, so it
>>>> will show up when
>>>> that is released.
>>>
>>> Is this somehing portable or are you referring to the
>>> HonorNoDumpFlag option,
>>> which uses the BSD-specific nodump flag?
>>
>>
>> It is portable.  It is configurable.  It not OS specific.
>>
>>  From memory, the file name is configured in the FileSet.  You can
>> name it .NoBACKUP
>> or whatever you like.  Any directory that contains that file name is
>> not backed up.
>
> Thanks, I've found it now.  It is the IgnoreDir option.


That sounds familiar.  I think I know the guy that submitted the patch.
He's a FreeBSD chap IIRC.  It was quite an impressive submission
and will be quite useful to many people I'm sure.


-- 
Dan Langille -- http://www.langille.org/






-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users