Re: [Bacula-users] include only certain wild files, bacula stilll backs up all files
2008-08-19 15:57:41
>>>>> On Fri, 15 Aug 2008 23:46:27 -0400, John Drescher said:
>
> On Fri, Aug 15, 2008 at 11:33 PM, Milwell H. Sia <milwell AT milwell DOT com>
> wrote:
> > I'm using Bacula 2.2.8 and Ubuntu 7.10, the client is windows xp.
> >
> > I have to backup a really big workstation and one strategy i have come
> > up with is to backup by letter.
> > for example, i'll make a fileset that backs up all directories in d:
> > that starts with A or a.
> > So the fileset looks like:
> >
> > FileSet{
> > name = "fileset-A"
> > include{
> > options{
> > compression = GZIP
> > wild = "d:/A*"
> > wild = "d:/a*"
> > }
> > File = "d:/"
> > }
> > }
> >
> > but it seems to be bacula still backs up all files in d:
> >
> This is the expected and correct behavior. The line File = D:/ means
> the entire d: drive. I believe the wild parts in the options are
> meaningless. You can have wild parts in excludes or in place of the
> File = D: but not in the options.
No, you can't put wildcards in the File= line, only in the options.
I think it can be done by adding a second options clause like this to exclude
anything that does not match the first one:
options {
exclude = yes
wild = "*"
}
__Martin
-------------------------------------------------------------------------
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
|
|
|