Title: RE: Problem excluding with GNUtar

Thanks, (and to everyone else who replied)

If I'm reading this right...
I want to back up each partition seperately so to backup my root / partition I should put /var in an exclude list and then backup var excluding ./log/messages...

yes?
Sorry if that seems like a stupid question but I'd like to be sure.

-----Original Message-----
From: Doug Silver [mailto:[EMAIL PROTECTED]]
Sent: 18 April 2002 16:44
To: Spicer, Kevin
Cc: '[EMAIL PROTECTED]'
Subject: Re: Problem excluding with GNUtar


Hi Kevin -

Two problems, your gtar is too old and needs to be upgraded.  Second is
that if you're using gtar, you're not suppose to use the disk device but
the actual partition in the disklist, e.g.:

linux1          /       always-full-tax 1 le0
(assuming hda3 is /)

I use exclude files, which you put on the client.  Assuming the partition
is '/', the exclude list would just contain:

./var/log/messages

to exclude entire directories would be like this:

./var/spool/mqueue

Check the online FAQ and/or the online search archives for further
examples.

-Doug

On Thu, 18 Apr 2002, Spicer, Kevin wrote:

> Hi,
>
> I'm having a problem backing up one of my linux hosts with amanda.  I keep
> getting...
>
> FAILURE AND STRANGE DUMP SUMMARY:
>   linux1       /dev/hda3 lev 0 FAILED [/bin/tar returned 2]
>
[snip]
>
> Obviously /var/log/messages is the problem (/dev/hda3 is /var).  But I
> followed the instructions in the man pages to exclude this file - from
> amanda.conf ...
>
> define dumptype always-full-tax {
>     global
>     comment "Full dump of this filesystem always using tar"
>     program "GNUTAR"
>     exclude "/var/log/messages"
>     compress fast
>     priority high
>     record no
>     index yes
>     dumpcycle 0
> }
>
> and from disklist..
>
> linux1    /dev/hda3 always-full-tax 1 le0
>
> I also tried exclude"./log/messages"  in the dumptype definition but that
> didn't work either.  Has anyone else had a problem like this.
>
> I'm using amanda2.4.2p2 the server is Solaris 6 and the client is Slackware
> 7.1.0 with GNU tar 1.13




BMRB International
http://www.bmrb.co.uk +44 (0)20 8566 5000

____________________________________________________________
This message (and any attachment) is intended only for the recipient and may contain confidential and/or privileged material. If you have received this in error, please contact the sender and delete this message immediately. Disclosure, copying or other action taken in respect of this email or in reliance on it is prohibited. BMRB International Limited accepts no liability in relation to any personal emails, or content of any email which does not directly relate to our business.

Reply via email to