Pascal, I recall a similar error when the chg-disk changer wasn't setting the "data" sym-link to the correct "tape" slot. Try using the command:
settape chg-disk before doing the extract. It also worked if I manually ran the command: amtape <config> slot <N> in another window before doing the extract. I eventually got the config right in amanda.conf, and it works properly now. Here are my relevant amanda.conf entries: runtapes 1 tpchanger "chg-disk" tapedev "file:/d1/amanda_tapes" rawtapedev "file:/d1/amanda_tapes" changerfile "/usr/local/etc/amanda/daily/changer" changerdev "/dev/null" amrecover_changer "changer" Marc Langlois. On Wed, 2004-02-25 at 08:12, Pascal Robert wrote: > 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: > > [EMAIL PROTECTED] /]# /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
