Joshua Baker-LePain wrote:
>
> On Tue, 4 Dec 2001 at 10:10am, Stephen Carville wrote
>
> > I have an exclude list that looks like:
> >
> > /proc
> > /devices
> > /tmp
> > /temp
> > /var/lock
> > /var/spool/postfix/private
> > /spool/postfix/private
> > /var/tmp
> > /lost+found
> > *..LCK
> >
> > But amrecover tells me that amanda is still backing up these
>
> > Indicates that /tmp being excluded up but amanda _is_ backing it up.
> >
> > So how the frell do I get these directories excluded for real?
>
> Just a shot in the dark -- try "./tmp".
With GNU tar, exclude paths are relative to the current filesystem (as defined
in the disklist). On my system I exclude both /tmp and /var/tmp with the one
exclude line "./tmp". If you want to exclude one but not the other you need to
give / and /var different dumptypes and define different exclusion lists for
those dumptypes.
John