Amanda-Users

Re: include problems with Amanda-2.4.4-20030428?

2003-11-25 02:52:09
Subject: Re: include problems with Amanda-2.4.4-20030428?
From: "Martin" <ammail AT sebastian DOT nl>
To: <amanda-users AT amanda DOT org>
Date: Tue, 25 Nov 2003 08:45:38 +0100
FWIW, I am doing the same thing (splitting the stuff), my DLEs look
something like this:

host /home/all /home {
    always-full
    exclude "./hugemap" "./evenhugermap" "./*/.sambarecycle"
}

host /home/hugemap /home {
    always-full
    include "./hugemap"
}

host /home/evenhugermap /home {
    always-full
    include "./evenhugermap"
}

Martin

> > > > >
> > > > > I'm having strange problems with the include thingy in an
> > > > > entry in my disklist:
> > > > >
> > > > > bullcalf /data/nihpd/nihpd1/data/assembly_0
/data/nihpd/nihpd1/data/assembly {
> > > > > include "./0*"
> > > > > exclude "./[1-9]*"
> > > > > high-tar
> > > > > } 1
> > > > >
> > > > > Looking at what got written to tape (a full backup) I see only
> > > > > directories (no files at all!), and even from the exclude
part...ie
> > > > > just the hierarchy structure of /data/nihpd/nihpd1/data/assembly
all
> > > > > the way down...
> > > > >
> > > >
> > > > Don't know about your bad backup, but in your DLE you should not
> > > > have both the include and THAT exclude.  I.e., the include will
> > > > automatically drop any toplevel dir that does not match "./0*".
> > >
> > > That is want I want!
> > > All subdirs in there have a pattern [0-9]\{6\} , ie, 6 digits. There
> > > are other subdirs but there are not to be backed up. You see, my
> > > problem is that /data/nihpd/nihpd1/data/assembly can contains 100's of
> > > GB and I'm using 4 LTO tape drives, so I have to split that thing in
> > > small chuncks...
> > >
> > > Eventually I'll have 10 DLE's, those starting with ./0* ./1* ...
> > > you get the picture.
> > >
> > > >
> > > > I think the only valid exclude usage would be for things under
> > > > the 0* directories.  For example 'exclude "./0*/tmp"'.  Though
> > > > I must admit I've never tried that combination.
> > >