Amanda-Users

Re: include problems with Amanda-2.4.4-20030428?

2003-11-26 08:43:36
Subject: Re: include problems with Amanda-2.4.4-20030428?
From: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
To: Martin <ammail AT sebastian DOT nl>
Date: Wed, 26 Nov 2003 08:42:14 -0500
* Martin <ammail AT sebastian DOT nl> [20031126 08:26]:
> Maybe the line 'include "./[1]*"' makes a difference? (instead of "./1*")
> 
> Martin

Turns out that the include stanza will show up if it is *after*
the dumptype line, ie:

bullcalf /data/nihpd/nihpd1/data/assembly_1 /data/nihpd/nihpd1/data/assembly {
high-tar
include "./1*"
} 2

Then

~#> amadmin stk_40-conf1 disklist
    host bullcalf:
        interface default
    disk /data/nihpd/nihpd1/data/assembly_1:
        device /data/nihpd/nihpd1/data/assembly
        program "GNUTAR"
        include file "./1*"
        priority 2
        dumpcycle 14
        maxdumps 1
        maxpromoteday 10000
        strategy STANDARD
        compress NONE
        auth BSD
        kencrypt NO
        holdingdisk YES
        record YES
        index YES
        skip-incr NO
        skip-full NO

ah! A bug?

Thanks for the help to everybody who posted on this long thread.

jf

> 
> 
> 
> > > >The relevent sendbackup file for this DLE with include stanza:
> > > >
> > > >sendbackup: debug 1 pid 10655570 ruid 666 euid 666: start at Tue Nov 25
> > > >04:41:51 2003
> > > >/opt/amanda/amanda1/libexec/sendbackup: version 2.4.4p1-20031120
> > > >  parsed request as: program `GNUTAR'
> > > >                     disk `/data/nihpd/nihpd1/data/assembly_1'
> > > >                     device `/data/nihpd/nihpd1/data/assembly'
> > > >                     level 0
> > > >                     since 1970:1:1:0:0:0
> > > >                     options `|;auth=bsd;index;'
> > >
> > >
> > > Not good! It should have an entry for the include/exclude like:
> > >
> > > sendbackup: debug 1 pid 21690 ruid 1001 euid 1001: start at Wed Nov 26
> > > 11:53:16 2003
> > > /pkgs/amanda-2.4.4p1/libexec/sendbackup: version 2.4.4p1
> > >   parsed request as: program `GNUTAR'
> > >              disk `/space/scratch/pbi/brolpol'
> > >              device `/space/scratch/pbi/brolpol'
> > >              level 0
> > >              since 1970:1:1:0:0:0
> > >              options `|;auth=bsd;no-record;index;include-file=./[a-z]*;'
> > >
> > >
> > >
> > > What does this say:
> > >   $ amadmin YourConfig disklist
> > >
> > > Do you see the include statement?
> >
> > no!
> > ~#> amadmin stk_40-conf1 disklist
> > line 13:
> >     host bullcalf:
> >         interface default
> >     disk /data/nihpd/nihpd1/data/assembly_1:
> >         device /data/nihpd/nihpd1/data/assembly
> >         program "GNUTAR"
> >         priority 2
> >         dumpcycle 14
> >         maxdumps 1
> >         maxpromoteday 10000
> >         strategy STANDARD
> >         compress NONE
> >         auth BSD
> >         kencrypt NO
> >         holdingdisk YES
> >         record YES
> >         index YES
> >         skip-incr NO
> >         skip-full NO
> >
> > jf
> >
> 

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