Amanda-Users

Re: include problems with Amanda-2.4.4-20030428?

2003-11-24 14:04:13
Subject: Re: include problems with Amanda-2.4.4-20030428?
From: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
To: Paul Bijnens <paul.bijnens AT xplanation DOT com>
Date: Mon, 24 Nov 2003 13:48:24 -0500
* Paul Bijnens <paul.bijnens AT xplanation DOT com> [20031124 13:02]:
> Jean-Francois Malouin wrote:
> 
> >Hi,
> >
> >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...
> 
> 
> Can you explain a little more? Show the relevant index.
> The index file itself starts with the directories, and then follows
> with the files in the directories.  But you shouldn't see anything
> from the excluded parts.  (Actually the exclude above can be omitted
> entirely.)
> 

I didn't have a look at the index file, but here's an excerpt:

top:

/
/-/
/-/0/
/-/0/behavioural/
/-/0/behavioural/cantab/
/-/0/behavioural/carey/
/-/0/behavioural/cbcl/
/-/0/behavioural/cvlt2/
/-/0/behavioural/cvltc/

end:

/998601/1/mri/work/xfms/nihpd_998601_v1_obj1_t2w_1.t2w.clp.t1tal.xfm
/998601/1/mri/work/xfms/nihpd_998601_v1_obj1_t2w_1.t2w.clpt2t1native.xfm
/998724/1/behavioural/cbcl/998724v1_profexport.DBF
/998724/1/behavioural/cbcl/998724v1_profexport.txt
/998724/1/behavioural/cbcl/998724v1_rawexport.DBF
/998724/1/behavioural/cbcl/998724v1_rawexport.txt
/998724/1/behavioural/dps4/998724v1y.chr

So you're right, there are files in there. My mistake. I probably
looked at the wrong place. However the index entries start with a "/"
NOT "./" so is this the problem? That would explain why the
include/exclude pattern failed as the directories starting with
something else that "./0" should be excluded , right?

Looking at what is on the tape I see :

mt -f /hw/tape/tps12d1nrnsv fsf 1
dd if=/hw/tape/tps12d1nrnsv bs=32k skip=1 | /usr/freeware/bin/tar tf
./
./-/
./-/0/
./-/0/behavioural/
./-/0/behavioural/cantab/
./-/0/behavioural/carey/
./-/0/behavioural/cbcl/
./-/0/behavioural/cvlt2/
./-/0/behavioural/cvltc/

something's fishy...


> >I'm compiling 2.4.4p1-20031120 right now.
> >But before putting that online, does anyone knows about this
> >problem, and if so, will 2.4.4p1-20031120 do the trick?
> 
> There was a bug in 2.4.4p1 that if the include was not a pattern, it
> would not work.  That was only for "include".  I believe the above
> should work find, even in a plain 2.4.4.
> Stupid question: the client has the same/correct version too?

client is the server, and the only one for this conf.

regards,
jf

> 
> -- 
> Paul Bijnens, Xplanation                            Tel  +32 16 397.511
> Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
> http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
> ***********************************************************************
> * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
> * quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
> * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
> * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
> * kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
> * ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
> ***********************************************************************
> 

-- 
We see in what we think we fear
The clouding of our thoughts made clear

<Prev in Thread] Current Thread [Next in Thread>