Hi, Actually yeah, i got it messed up a bit. Well the following is the "Redefined output". I'm not sure whether i did something wrong or have forgotten some confgurations but the following is what i've done. by the way guys is it the settape command is correct?
settape sanback.mydomain.com:file:/backup/amanda/dumps/tape09 If i use this, the following is the error that had occur. # amrecover DailySet1 AMRECOVER Version 2.5.1p3. Contacting server on sanback.mydomain.com ... 220 sanback AMANDA index server (2.5.1p3) ready. Setting restore date to today (2007-05-04) 200 Working date set to 2007-05-04. 200 Config set to DailySet1. 501 Host sanback.mydomain.com is not in your disklist. Trying host sanback.mydomain.com ... 501 Host sanback.mydomain.com is not in your disklist. Trying host sanback ... 501 Host sanback is not in your disklist. Use the sethost command to choose a host to recover amrecover> sethost anthonyh.mydomain.com 200 Dump host set to anthonyh.mydomain.com. amrecover> listdisk 200- List of disk for host anthonyh.mydomain.com 201- /boot 200 List of disk for host anthonyh.mydomain.com amrecover> setdisk /boot 200 Disk set to /boot. amrecover> list amrecover> ls 2007-05-03-20-10-13 lost+found/ 2007-05-03-20-10-13 grub/ 2007-05-03-20-10-13 . amrecover> add grub/ Added dir /grub/ at date 2007-05-03-20-10-13 amrecover> list TAPE DailySet1-09:3 LEVEL 2 DATE 2007-05-03-20-10-13 /grub amrecover> listtape Invalid command: listtape amrecover> listape Invalid command: listape amrecover> list TAPE DailySet1-09:3 LEVEL 2 DATE 2007-05-03-20-10-13 /grub amrecover> settape sanback.mydomain.com:file:/backup/amanda/dumps/tape09 Using tape "file:/backup/amanda/dumps/tape09" from server sanback.mydomain.com. amrecover> extract Extracting files using tape drive file:/backup/amanda/dumps/tape09 on host sanback.mydomain.com. The following tapes are needed: DailySet1-09 Restoring files into directory /root Continue [?/Y/n]? y Extracting files using tape drive file:/backup/amanda/dumps/tape09 on host sanback.mydomain.com. Load tape DailySet1-09 now Continue [?/Y/n/s/t]? y warning: GNUTAR program not available. amrecover couldn't exec: No such file or directory problem executing tar Extractor child exited with status 1 Any ideas guys? Newbie here... Regards, Anthony Paul Bijnens wrote: > > On 2007-04-30 14:05, anthonyh wrote: >> Hi Guys. This is my first post in this Forum. Currently i'm having some >> issue >> with the amrecover. Whenever i tried to execute the amrecover it executed >> properly but till i started to extract the data it stated there "Can't >> Talk >> to Tape Server" > > Well you edited the log to obfuscate the hostnames. > Hoping you know what you did: > > >> >> # amrecover DailySet1 >> AMRECOVER Version 2.5.1p3. Contacting server on y.com ... >> 220 y.com AMANDA index server (2.5.1p3) ready. > > So, y.com is the amanda index-server > >> Setting restore date to today (2007-04-30) >> 200 Working date set to 2007-04-30. >> 200 Config set to DailySet1. >> 501 Host y is not in your disklist. >> Trying host y.com ... > > And you are executing this command from y.com itself???? > So client == server? > >> 501 Host y.com is not in your disklist. >> Trying host y.com ... >> 501 Host y.com is not in your disklist. >> Use the sethost command to choose a host to recover >> amrecover> sethost x.com > > And you want to restore something from a different host x.xom ? > > >> 200 Dump host set to x.com >> amrecover> setdisk /home/abamon >> 200 Disk set to /home/abamon. >> amrecover> list >> amrecover> add * >> Added file /libexec.tar.gz >> Added file /.zshrc >> Added file /.viminfo >> Added dir /.ssh/ at date 2007-04-30-18-32-42 >> Added file /.mysql_history >> Added file /.bashrc >> Added file /.bash_profile >> Added file /.bash_logout >> Added file /.bash_history >> amrecover> list >> TAPE DailySet1-001:1 LEVEL 0 DATE 2007-04-30-18-32-42 >> /.bash_history >> /.bash_logout >> /.bash_profile >> /.bashrc >> /.mysql_history >> /.ssh >> /.viminfo >> /.zshrc >> /libexec.tar.gz >> amrecover> settape x:/backup/amanda/dumps/tape01 >> Using tape "/backup/amanda/dumps/tape01" from server x.com > > And here Amanda somehow believes that "x.com" is the tapeserver? > I would expect "y.com" instead here. Unless x.com is some > tapeserver running amanda-server software too? > > >> amrecover> extract >> >> Extracting files using tape drive /backup/amanda/dumps/tape01 on host >> x.com >> The following tapes are needed: DailySet1-001 >> >> Restoring files into directory /tmp/amanda/client/DailySet1 >> Continue [?/Y/n]? y >> >> Extracting files using tape drive /backup/amanda/dumps/tape01 on host >> x.com >> Load tape DailySet1-001 now >> Continue [?/Y/n/s/t]? y >> amrecover - can't talk to tape server > > That's what I expect, yes. > But I'm not 100% sure because you obfuscated the hostnames.... > > > > -- > Paul Bijnens, xplanation Technology Services 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, * > * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * > * ... "Are you sure?" ... YES ... Phew ... I'm out * > *********************************************************************** > > > -- View this message in context: http://www.nabble.com/amrecover-issue-tf3669327.html#a10309489 Sent from the Amanda - Users mailing list archive at Nabble.com.