Re: [Bacula-users] Fileset: How exclude all except...
2011-06-20 14:42:54
>>>>> On Mon, 20 Jun 2011 11:13:39 -0600, Stuart McGraw said:
>
> > If you also wish to exclude other dot-directories, I would try something
> > like:
> >
> > FileSet
> > {
> > Include
> > {
> > Options
> > {
> > wilddir = "/home/*/.backup"
> > }
> > Options
> > {
> > exclude = yes
> > wild = "/home/*/.*"
> > }
> > File = /home
> > }
> > }
>
> That's what I tried before (along with some
> permutations -- I admit to still not understanding
> well how Bacula interprets Filesets.) The .backup
> directory is included in the backed up files but its
> contents are not.
Adding
wild = "/home/*/.backup/*"
to the first options clause should fix that.
BTW, excluding all dot files will lose potentially important ones such as
.bashrc and .gnupg.
__Martin
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|