[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bacula-devel] Bacula Status


On Oct 3, 2008, at 1:19 PM, Marc Schiffbauer wrote:

> I did not mean the value of the directive but the name of the
> directive itself.
>
> Everywhere in the FileSet in Bacula you use the word "Exclude" when
> dealing with files that will not be backed up. So I suggest to
> follow this terminology instead of introducing a synonym.
> I think this will increase usability.
>
> So I think
>
>  Exclude Flag File = .no_backup
>
> would be more intuitive about what it does than
>
>  Ignore Dir = .no_backup
>
>
> Also I think because of using the word 'Dir' many people would expect
> this to be a directory which will be ignored and will try something
> like this:
>
>  Ignore Dir = /tmp
>
> will will be nonsense of course ;)

I see what you mean.  The directive is: Ignore Dir = <filename>

So at a minimum, it should be Ignore Dir File = <filename>

But having Dir and File together... no.

Taking the example at: http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html

  # List of files to be backed up
   FileSet {
     Name = "MyFileSet"
     Include {
       Options {
         signature = MD5
       }
       File = /home
       IgnoreDir = .excludeme
     }
   }

Let's add an exclude option:

  # List of files to be backed up
   FileSet {
     Name = "MyFileSet"
     Include {
       Options {
         signature = MD5
       }
       File = /home
       Exclude Flag File =  .no_backup
     }

     Exclude {
                 File = /proc
                 File = /tmp
                 File = /.journal
                 File = /.fsck
         }
     }
}

Discussion commences from here.  :)

-- 
Dan Langille
http://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-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilotco.