Now i think the problem is other: [EMAIL PROTECTED] backup]# amrecover Daily AMRECOVER Version 2.4.4p2. Contacting server on tux2.employer.com.br ... 220 tux2 AMANDA index server (2.4.4p2) ready. 200 Access OK Setting restore date to today (2004-05-28) 200 Working date set to 2004-05-28. Scanning /dumps/amanda... 200 Config set to Daily. 200 Dump host set to tux2.employer.com.br. Trying disk /backup ... $CWD '/backup' is on disk '/backup' mounted at '/backup'. 200 Disk set to /backup. /backup amrecover> ls 2004-05-28 . 2004-05-28 bin/ 2004-05-28 bkp/ 2004-05-28 cafe/ 2004-05-28 cafesistemas/ 2004-05-28 dev/ 2004-05-28 etc/ 2004-05-28 lib/ 2004-05-28 servdados/ 2004-05-28 servdados2/ 2004-05-28 servdados3/ 2004-05-28 servinter/ 2004-05-28 sql_bkp/ amrecover> ls 2004-05-28 . 2004-05-28 bin/ 2004-05-28 bkp/ 2004-05-28 cafe/ 2004-05-28 cafesistemas/ 2004-05-28 dev/ 2004-05-28 etc/ 2004-05-28 lib/ 2004-05-28 servdados/ 2004-05-28 servdados2/ 2004-05-28 servdados3/ 2004-05-28 servinter/ 2004-05-28 sql_bkp/ amrecover> cd sql_bkp /backup/sql_bkp amrecover> ls 2004-05-28 . 2004-05-28 sql.tgz amrecover> add sql.tgz Added /sql_bkp/sql.tgz amrecover> extract
Extracting files using tape drive /dev/nst0 on host tux2.employer.com.br. The following tapes are needed: Employer0 Restoring files into directory /backup Continue [?/Y/n]? Y Extracting files using tape drive /dev/nst0 on host tux2.employer.com.br. Load tape Employer0 now Continue [?/Y/n/s/t]? Y EOF, check amidxtaped.<timestamp>.debug file on tux2.employer.com.br. amrecover: short block 0 bytes UNKNOWN file amrecover: Can't read file header extract_list - child returned non-zero status: 1 Continue [?/Y/n/r]? Below is my amidxtaped debu file: amidxtaped: debug 1 pid 3457 ruid 502 euid 502: start at Fri May 28 08:14:44 2004 amidxtaped: version 2.4.4p2 amidxtaped: time 0.000: > SECURITY USER root amidxtaped: time 0.078: bsd security: remote host tux2.employer.com.br user root local user amanda amidxtaped: time 0.158: amandahosts security check passed amidxtaped: time 0.158: > CONFIG=Daily amidxtaped: time 0.158: > LABEL=Employer0 amidxtaped: time 0.158: > FSF=1 amidxtaped: time 0.158: > HEADER amidxtaped: time 0.158: > DEVICE=/dev/nst0 amidxtaped: time 0.158: > HOST=^tux2.employer.com.br$ amidxtaped: time 0.158: > DISK=^/backup$ amidxtaped: time 0.158: > DATESTAMP=20040528 amidxtaped: time 0.158: > END amidxtaped: time 0.282: amrestore_nargs=0 amidxtaped: time 0.282: Ready to execv amrestore with: path = /usr/local/sbin/amrestore argv[0] = "amrestore" argv[1] = "-p" argv[2] = "-h" argv[3] = "/dev/nst0" argv[4] = "^tux2.employer.com.br$" argv[5] = "^/backup$" argv[6] = "20040528" amrestore: WARNING: not at start of tape, file numbers will be offset amrestore: 0: reached end of information amidxtaped: time 0.340: amrestore terminated normally with status: 1 amidxtaped: time 0.340: rewinding tape ... amidxtaped: time 40.076: done amidxtaped: time 40.076: pid 3457 finish time Fri May 28 08:15:24 2004 ----- Original Message ----- From: "Paul Bijnens" <[EMAIL PROTECTED]> To: "Marcelo Le�o Caffaro" <[EMAIL PROTECTED]> Sent: Thursday, May 27, 2004 5:20 PM Subject: Re: Amrecover > Marcelo Le�o Caffaro wrote: > > This is my debug file amindexd > > So I may conclude there was no amidxtaped.XXX.debug log file? > > Then have a look in the (x)inetd.conf on the server. > The server needs the server amandaidx (10082/tcp) to handle > the index, which works fine, and when reading the backup itself, > it needs service amidxtape (10083/tcp). Maybe a typo in the > that config? > > -- > Paul Bijnens, Xplanation Tel +32 16 397.511 > Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512 > http://www.xplanation.com/ email: [EMAIL PROTECTED] > *********************************************************************** > * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * > * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * > * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * > * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * > * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * > * ... "Are you sure?" ... YES ... Phew ... I'm out * > ***********************************************************************
