Title: Problem excluding with GNUtar
 
 
-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de Spicer, Kevin
Enviado el: jueves 18 de abril de 2002 14:00
Para: '[EMAIL PROTECTED]'
Asunto: Problem excluding with GNUtar

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]

and...

/-- linux1       /dev/hda3 lev 0 FAILED [/bin/tar returned 2]
sendbackup: start [linux1:/dev/hda3 level 0]
sendbackup: info BACKUP=/bin/tar
sendbackup: info RECOVER_CMD=/bin/gzip -dc |/bin/tar -f... -
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
? gtar: ./log/messages: file changed as we read it
| Total bytes written: 61583360
? gtar: Error exit delayed from previous errors
sendbackup: error [/bin/tar returned 2]
\--------

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"  

try exclude list "./amanda_exclude" 
    compress fast
    priority high
    record no
    index yes
    dumpcycle 0
}  

and in the /var fs edit a file, amanda_exclude with the following entries

    ./log/messages 

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