Amanda-Users

Re: Index file is empty - cygwin - using latest verion on tar

2003-07-02 17:55:50
Subject: Re: Index file is empty - cygwin - using latest verion on tar
From: Michael Gabriel <michael AT cwa.co DOT nz>
To: gene.heskett AT verizon DOT net
Date: Thu, 03 Jul 2003 09:54:07 +1200
Hi,

I don't think that it's a path problem because tar is also in the same directoy and that is found ok. I'm using the 1.13.-25 of tar.

In the Clients /tmp/amanda/sendbackup log,  I get this.

sendbackup: started index creator: "/bin/tar -tf - 2>/dev/null | sed -e 's/^\.//'"
sendbackup-gnutar: /usr/local/libexec/runtar    pid 1520
index pipe returned 32512

It should look something like this.

sendbackup: started index creator: "/bin/tar -tf - 2>/dev/null | sed -e 's/^\.//'"
sendbackup: index created successfully

Any other ideas?

Many thanks

Michael.

Gene Heskett wrote:

On Wednesday 02 July 2003 00:42, Michael Gabriel wrote:
Hi everyone,

   I'm having trouble getting the amanda backups going under
cygwin. The server is backing up serveral other linux boxes so I
think that's ok.  The data is being sent to the server from the
cygwin box but the index file is empty.

The only thing that is showing any indication of a problem in in the
sendbackup log. which is reflected in the mail message below. I'm
sure that sed and tar (I'm using the latest version) are ok.


-rw-------    1 backup   backup         20 Jul  1 16:17
20030701_0.gz -rw-------    1 backup   backup         20 Jul  1
16:40 20030701_1.gz -rw------- 1 backup backup 20 Jul 2 11:37 20030702_0.gz


Error reported for mail.


/-- xbox       /cygdrive/c/ProgramFiles lev 0 STRANGE
sendbackup: start [xbox:/cygdrive/c/ProgramFiles level 0]
sendbackup: info BACKUP=/usr/bin/tar
sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/usr/bin/tar -f... -
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
? sed: not found

It appears that sed is not in your $PATH

| Total bytes written: 471193600 (449MB, 802kB/s)

sendbackup: size 460150
sendbackup: end
\--------

The dumptype used is as follows.

define dumptype comp-user-tar {
  program "GNUTAR"
  comment "partitions dumped with tar"
  options compress-fast, index, exclude-list
"/etc/amanda/exclude.gtar" priority medium
}

Does anyone have and idea about how I can troubleshoot this problem.
I've looked throught the faq-o-matic and searched through
amanda-users.

Many thanks

Michael.

Also, your tar s/b 1.13-19 or 1.13-25, plain 1.13 is broken.


--
Michael Gabriel
CWA New Media

     |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_            
    |,4-  ) )-,_. ,\ (  `'-'            
'---''(_/--' `-'\_)