Amanda-Users

Re: amrecover problem

2002-08-11 22:31:50
Subject: Re: amrecover problem
From: Jay Lessert <jayl AT accelerant DOT net>
To: Mark Snelling <mark AT bakedbeans DOT com>
Date: Sun, 11 Aug 2002 10:40:23 -0700
On Wed, Jul 17, 2002 at 05:19:16PM +0100, Mark Snelling wrote:
> I have a problem with amanda. It seems to back up my filesystems ok (except
> for the warning below). When I run amrecover, 2 of the filesystems I can
> browse through, but /mnt/data has the directory structure and NO files?! Has
> anyone any idea whats going on?
[clip]
> FAILED AND STRANGE DUMP DETAILS:
> 
> /-- hades      /mnt/data lev 0 STRANGE
> sendbackup: start [hades:/mnt/data 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: ./home/dannyb/.Maildir/cur/1026897042.12092_1.hades,S=1602\:2,S:
> Warning: Cannot stat: No such file or directory
> | Total bytes written: 28790016000 (27GB, 1.5MB/s)

The STRANGE warning is solely due to some wacko thing your user dannyb
has down in his qmail delivery directory.  It should do no harm,
but you probably want to go clean it out.

> sendbackup: size 28115250

So *plenty* of files there, even if amrecover isn't letting you see 'em.  :-)

You can amrestore and confirm the data is actually there, that always
makes me sleep better.

amrecover doesn't run 'gtar -tv' on the tape, it just unzips what's in
the index file (under /var/adm/amanda/config_name/index for me).  The
most common cause of bad indexes is bad versions of GNU tar.  Do:

    % /bin/tar --version

You want to see 1.13.19 or 1.13.25.  If you don't, build & install 1.13.25
from:

    http://www.funet.fi/pub/gnu/alpha/gnu/tar/

MAKE SURE you install it where amanda expects to find it!  If your tar
version is already good, I'm out of ideas.

[clip]
> DUMP SUMMARY:
>                                      DUMPER STATS            TAPER STATS
> HOSTNAME     DISK        L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
> -------------------------- --------------------------------- ------------
> hades        /           0  988980 410048  41.5   7:08 957.6   7:08 957.1
> hades        /boot       0    4900   2848  58.1   0:031097.0   0:031027.5
> hades        /mnt/data   0 2811525022508256  80.1 297:321260.8 297:331260.8

Nothing to do w/your problem, but you might want to try a columnspec:

columnspec 
"HostName=0:10,Disk=1:10,OrigKB=1:9,OutKB=1:9,DumpRate=1:7,TapeRate=1:7"

or something similar, makes the summary output nice & pretty.

-- 
Jay Lessert                               jay_lessert AT accelerant DOT net
Accelerant Networks Inc.                       (voice)1.503.439.3461
Beaverton OR, USA                                (fax)1.503.466.9472

<Prev in Thread] Current Thread [Next in Thread>