Amanda-Users

Re: Changed host name. amrecover tries to contact old host.

2005-11-22 16:43:03
Subject: Re: Changed host name. amrecover tries to contact old host.
From: Paddy Sreenivasan <paddy AT zmanda DOT com>
To: Joe Konecny <jkonecny AT rmtohio DOT com>
Date: Tue, 22 Nov 2005 13:37:12 -0800


On 11/22/05, Joe Konecny <jkonecny AT rmtohio DOT com> wrote:
Paddy Sreenivasan wrote:
> Did you try amrecover -t <hostname>?
>
> Paddy
>
> On 11/22/05, *Joe* <jkonecn AT green-mfg DOT com
> <mailto: jkonecn AT green-mfg DOT com>> wrote:
>
>     I have a FreeBSD 5.2.1 server running 2.4.4p2.  I had to change the
>     host name on it.  I set the new host name with "hostname <hostname>",
>     edited /etc/rc.conf for the new host name, edited /etc/hosts, disklist
>     and .amandahosts to reflect the new name.  Ran amcheck and then
>     amdump with no errors.  Testing amrecover <config> and it still
>     tries to contact the old host.  amrecover <config> -s new.hostname
>     works but it reports there are no indexes.  The index file (.gz) is in
>     in the new hostname index directory.  So...  why no indexes and
>     why does amrecover still want the old host?

Just tried it.  Still tries to contact old hostname.  Does amandaidx
need killed and restarted?


Try amrecover -s <hostname> -t <hostname>

Paddy




--

Amanda documentation: wiki.zmanda.com
Amanda forums: forums.zmanda.com
<Prev in Thread] Current Thread [Next in Thread>