Amanda-Users

Problem with amrecover and tapeless

2004-02-25 10:16:06
Subject: Problem with amrecover and tapeless
From: Pascal Robert <probert AT cesart DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 25 Feb 2004 10:12:26 -0500
Hi,

we are doing backups on hard drives, this part works fine, but when I try to do a recover, I get this error "EOF, check amidxtaped.debug file". This is a except from my session:

[root@staging03 /]# /usr/sbin/amrecover -s xxxx.xx.cesart.com -t xxxx.xx.cesart.com -C Hosting
AMRECOVER Version 2.4.2p2. Contacting server on xxxx.xxx.cesart.com ...
220 backup AMANDA index server (2.4.4p2) ready.
200 Access OK
Setting restore date to today (2004-02-25)
200 Working date set to 2004-02-25.
Scanning /backups/amandadumps/holding...
200 Config set to Hosting.
200 Dump host set to xxxxxx.cesart.com.
$CWD '/' is on disk '/' mounted at '/'.
200 Disk set to /.
/
amrecover> cd home/probert
/home/probert
amrecover> add MMI-030922.host-b.gz
Added /home/probert/MMI-030922.host-b.gz
amrecover> list
TAPE Hosting08 LEVEL 2 DATE 2004-02-25
        /home/probert/MMI-030922.host-b.gz
amrecover> settape xxxx.xx.cesart.com:file:/backups/amandadumps/tape08
Using tape file:/backups/amandadumps/tape08 from server backup.01.cesart.com.
amrecover> extract

Extracting files using tape drive file:/backups/amandadumps/tape08 on host backup.01.cesart.com.
The following tapes are needed: Hosting08

Restoring files into directory /
Continue? [Y/n]: y

Load tape Hosting08 now
Continue? [Y/n]: y
EOF, check amidxtaped.debug file on xxxx.xx.cesart.com.

And in the debug file:

amidxtaped: time 0.000: Ready to execv amrestore with:
path = /usr/local/amanda/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-h"
argv[2] = "-p"
argv[3] = "file:/backups/amandadumps/tape08"
argv[4] = "xxxxx.cesart.com"
argv[5] = "^/$"
argv[6] = "20040225"
amrestore: WARNING: not at start of tape, file numbers will be offset
amrestore:   0: reached end of information
amidxtaped: time 0.002: amrestore terminated normally with status: 1
amidxtaped: time 0.002: rewinding tape ...
amidxtaped: time 0.002: done
amidxtaped: time 0.002: pid 2491 finish time Wed Feb 25 09:31:20 2004


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