Amanda-Users

amrecover with file:, again.....

2004-02-03 08:37:42
Subject: amrecover with file:, again.....
From: "R.M. Evers" <amanda AT hbh-it DOT nl>
To: Amanda-Users <amanda-users AT amanda DOT org>
Date: Tue, 03 Feb 2004 14:34:51 +0100
hi amanda-users,

sorry to bring this up again, but i'm also having problems with using
amrecover with the file: driver.. i have read the recent thread, but i
cannot get it to work properly.

my backup server is a debian/stable machine. to install amanda-2.4.4p1,
i retrieved the source package form debian/unstable. next, i patched the
source with the chg-disk patch. next, i created the debian-packages and
installed them. so in a way, i created my own patched amanda-backport.

i configured the whole thing, and tested 3 dumps with one client server.
all went fine :-)

then, i tried to recover some directory using amrecover. at the final
'extract'-point, i receive the error:

    --
    Extracting files using tape drive daily01 on host bu2.
    Load tape daily02 now
    Continue [?/Y/n/s/t]? 
    EOF, check amidxtaped.<timestamp>.debug file on bu2.
    amrecover: short block 0 bytes
    UNKNOWN file
    amrecover: Can't read file header
    extract_list - child returned non-zero status: 1
    --

the recover works fine when i issue an "amtape DailySet1 label daily02"
on the backup server, but hey, i'm lazy..

i've tried different values for the amrecover_changer parameter
mentioned in the thread last month, but to no avail.. right now, here's
my config:

    --
    tpchanger "chg-disk"
    changerfile "/etc/amanda/DailySet1/changer"
    tapedev "file:/var/backups/amanda-tapes/DailySet1"
    amrecover_changer "file:/var/backups/amanda-tapes/DailySet1"
    --

i read the docs, googled like there's no tomorrow, but i can't seem to
get this right. what am i missing here?

thanks & regards,
-rodi.



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