I specified the dump type as comp-root-tar. I added index yes in the dump type in amanda.conf file. When I ran "amrecover -C Daily -s itchy.applimation.com", I got an error saying "no indexing records". When I ran "amrestore /dev/nst0 etc", I got "end of file" error. Attached, please find my amanda.conf and disklist files. Please help. Thank you, Lei
-----Original Message----- From: Paul Bijnens [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 6:55 PM To: Lei Zhong Cc: [email protected] Subject: Re: amrecover: Unexpected end of file Lei Zhong wrote: > Sorry about that. Here is the amdump.1 file: > [...] > SETTING UP FOR ESTIMATES... > planner: time 0.005: setting up estimates for itchy.applimation.com:/etc That means you have one line in disklist. > itchy.applimation.com:/etc overdue 12914 days for level 0 > setup_estimate: itchy.applimation.com:/etc: command 0, options: none > last_level -1 next_level0 -12914 level_days 0 getting estimates 0 > (-2) -1 (-2) -1 (-2) > planner: time 0.028: setting up estimates took 0.022 secs > But in the next section, we never recieve anything!? > GETTING ESTIMATES... > reserving 296960 out of 296960 for degraded-mode dumps [...] > planner: time 0.130: getting estimates took 0.101 secs > FAILED QUEUE: empty > DONE QUEUE: empty And the strange thing is that FAILED QUEUE just as well as DONE QUEUE is empty. I don't understand why (yet). Never seen that before... Maybe you have the new statistics based estimates enabled? I did not try those yet -- no time to test, no need in my environment. I wonder what happens when you enable this for a new DLE. > > ANALYZING ESTIMATES... > INITIAL SCHEDULE (size 120): > > DELAYING DUMPS IF NEEDED, total_size 120, tape length 158467072 mark 28 > delay: Total size now 120. > > PROMOTING DUMPS IF NEEDED, total_lev0 0, balanced_size 0... > planner: time 0.130: analysis took 0.000 secs > > GENERATING SCHEDULE: > -------- > -------- But the schedule that planner generates is empty (there should be some lines like "DUMP itchy... somehexflags /etc ...". So it is correct that the tape just contains a label, but is empty otherwise. We need more information here. Like the dislist, and dumptype used for that DLE. -- 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 * ***********************************************************************
amanda.conf
Description: amanda.conf
disklist
Description: disklist
