Amanda-Users

Re: amrecover issue

2007-05-02 06:05:43
Subject: Re: amrecover issue
From: Paul Bijnens <Paul.Bijnens AT xplanation DOT com>
To: anthonyh <jyho AT abamon DOT com>
Date: Wed, 02 May 2007 11:59:24 +0200
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:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* 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          *
***********************************************************************


<Prev in Thread] Current Thread [Next in Thread>