Bacula-users

Re: [Bacula-users] including only maildirs

2011-03-17 17:06:01
Subject: Re: [Bacula-users] including only maildirs
From: Silver Salonen <silver AT ultrasoft DOT ee>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 17 Mar 2011 23:03:02 +0200
On Thursday 17 March 2011 21:45:10 Martin Simmons wrote:
> >>>>> On Thu, 17 Mar 2011 13:03:11 +0200, Silver Salonen said:
> > 
> > I want to backup only users' maildirs in a job, and all the other stuff on
> > the other job. I cannot get the fileset to do what I want. I followed the
> > example in the manual, but even this does not work.
> > 
> > My fileset:
> >     Include {
> >         Options {
> >             WildDir = "/mnt/snap/gm0/home/*/Maildir"
> >         }
> >         Options {
> >             Exclude = yes
> >             RegexDir = ".*"
> >         }
> >         File = "/mnt/snap/gm0/home"
> >     }
> 
> See http://article.gmane.org/gmane.comp.bacula.user/45140/match=maildir for
> why that doesn't work and a solution.
> 
> __Martin

Indeed, thanks. In my case the Fileset looks like this:

    Include {
        Options {
            RegexDir = "^/mnt/snap/gm0/home/[^/]+$"
            WildDir = "/mnt/snap/gm0/home/*/Maildir"
            Wild = "/mnt/snap/gm0/home/*/Maildir/*"
        }
        Options {
            Exclude = yes
            Wild = "/mnt/snap/gm0/home/*"
        }
        File = "/mnt/snap/gm0/home"
    }

-- 
Silver

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
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>