(and somehost is not the real hostname, k?)
I got this advice from amrestore:
EOF, check amidxtaped.debug file on backup.int.somehost.com.
And, well I can't find said debug file.
here is how I got to this impass:
Using the 242p2 version allowing backups to disk directories
Once a day backup.int.eclipsemedia sucks down files to /backup/tape/tX.
(Todays target for this e-mail t3)
And in /backup/tape/t3 sits:
t3/data:
00000-backup03
00000.backup03
00001-web.int.somehost.com._etc.0
00001.web.int.somehost.com._etc.0
00002-backup.int.somehost.com._etc.0
00002.backup.int.somehost.com._etc.0
00003-web.int.somehost.com._usr_local_etc_apache.0
00003.web.int.somehost.com._usr_local_etc_apache.0
00004-web.int.somehost.com._var_spool_imap.0
00004.web.int.somehost.com._var_spool_imap.0
00005-web.int.somehost.com._root.0
00005.web.int.somehost.com._root.0
00006-web.int.somehost.com._database.0
00006.web.int.somehost.com._database.0
00007-web.int.somehost.com._ww1.0
00007.web.int.somehost.com._ww1.0
00008-TAPEEND
00008.TAPEEND
backup#
And in 00005.web.int.somehost.com._root.0 is the files I want. I can get
them with a lop off 32K bytes from the front and guntar. But I'd rather
use amrecover.
So on web.int.somehost.com I type:
amrecover -C backup -s backup.int.somehost.com
AMRECOVER Version 2.4.2p2. Contacting server on backup.int.somehost.com ...
220 backup AMANDA index server (2.4.2p2) ready.
200 Access OK
Setting restore date to today (2001-11-06)
200 Working date set to 2001-11-06.
200 Config set to backup.
501 No index records for host: web.somehost.com. Invalid?
Trying host web.somehost.com ...
501 No index records for host: web.somehost.com. Invalid?
Trying host web.somehost.com ...
501 No index records for host: web.somehost.com. Invalid?
amrecover> sethost web.int.somehost.com
200 Dump host set to web.int.somehost.com.
200 Dump host set to web.int.somehost.com.
amrecover> setdate 2001-11-05
200 Working date set to 2001-11-05.
amrecover> setdisk /root
Warning: no log files found for tape backup30 written 0-00-00
Warning: no log files found for tape backup29 written 0-00-00
Warning: no log files found for tape backup28 written 0-00-00
Warning: no log files found for tape backup27 written 0-00-00
Warning: no log files found for tape backup26 written 0-00-00
Warning: no log files found for tape backup25 written 0-00-00
Warning: no log files found for tape backup24 written 0-00-00
Warning: no log files found for tape backup23 written 0-00-00
Warning: no log files found for tape backup22 written 0-00-00
Warning: no log files found for tape backup21 written 0-00-00
Warning: no log files found for tape backup20 written 0-00-00
Warning: no log files found for tape backup19 written 0-00-00
Warning: no log files found for tape backup18 written 0-00-00
Warning: no log files found for tape backup17 written 0-00-00
Warning: no log files found for tape backup16 written 0-00-00
Warning: no log files found for tape backup15 written 0-00-00
Warning: no log files found for tape backup14 written 0-00-00
Warning: no log files found for tape backup13 written 0-00-00
Warning: no log files found for tape backup12 written 0-00-00
Warning: no log files found for tape backup11 written 0-00-00
Warning: no log files found for tape backup10 written 0-00-00
Warning: no log files found for tape backup09 written 0-00-00
Warning: no log files found for tape backup08 written 0-00-00
Warning: no log files found for tape backup07 written 0-00-00
Warning: no log files found for tape backup05 written 0-00-00
Warning: no log files found for tape backup04 written 0-00-00
Scanning /dumps/amanda...
20010801: found Amanda directory.
200 Disk set to /root.
amrecover>
Scanning /dumps/amanda...
20010801: found Amanda directory.
200 Disk set to /root.
amrecover> settape backup.int.somehost.com:default
Using default tape from server backup.int.somehost.com.
amrecover> ls
2001-10-18 .
2001-10-13 .cshrc
2001-10-18 .history
2001-10-13 .klogin
2001-10-13 .login
2001-10-13 .pinerc
2001-10-13 .profile
2001-10-13 .psql_history
2001-10-13 .rnd
2001-10-13 .saves-26276-web.somehost.com~
2001-10-13 .saves-6214-web.somehost.com~
2001-10-18 .ssh/
2001-10-13 .vacation.db
2001-10-13 analogimages
2001-10-13 architextSearch.core
2001-10-13 copy.pl
2001-10-13 daily.bak
2001-10-13 daily.cgi
2001-10-13 daily_joeker.cgi
2001-10-13 daily_wtgray.cgi
2001-10-13 db_bak.sh
2001-10-13 dns
2001-10-13 dns.bak
2001-10-13 dnsjoeker
2001-10-13 dnswtgray
2001-10-18 mail/
2001-10-13 mbox
2001-10-13 monthly_wtgray.cgi
2001-10-18 src/
2001-10-13 test
2001-10-13 using_tar.txt
amrecover>
amrecover> lcd /root
amrecover> pwd
/root
amrecover> add dai*
Added /daily.bak
Added /daily.cgi
Added /daily_joeker.cgi
Added /daily_wtgray.cgi
amrecover> extract
amrecover: warning: using /dev/null as the tape device will not work
Extracting files using tape drive /dev/null on host backup.int.somehost.com.
The following tapes are needed: backup06
Restoring files into directory /root
Continue? [Y/n]: Y
Load tape backup06 now
Continue? [Y/n]: Y
Then after some time elapses:
EOF, check amidxtaped.debug file on backup.int.somehost.com.
amrecover: short block 0 bytes
UNKNOWN file
amrecover: Can't read file header
extract_list - child returned non-zero status: 1
Continue? [Y/n]:
amrecover> settape backup.int.somehost.com:backup03
Using tape backup03 from server backup.int.somehost.com.
mrecover> add dns*
Added /dns
Added /dns.bak
Added /dnsjoeker
Added /dnswtgray
amrecover> extract
Extracting files using tape drive backup03 on host backup.int.somehost.com.
The following tapes are needed: backup03
Restoring files into directory /root
Continue? [Y/n]: y
Load tape backup03 now
Continue? [Y/n]: y
EOF, check amidxtaped.debug file on backup.int.somehost.com.
amrecover: short block 0 bytes
UNKNOWN file
amrecover: Can't read file header
extract_list - child returned non-zero status: 1
Continue? [Y/n]: n
The EOF happens quickly.
Ideas on how I can track this down?