Amanda-Users

Re: amrecover says "Host is not in your disklist"

2006-02-24 09:35:42
Subject: Re: amrecover says "Host is not in your disklist"
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Fri, 24 Feb 2006 09:31:54 -0500
On Friday 24 February 2006 08:25, Foro Linux wrote:
>Hi list:
>    I'm trying to recover some file from my recentrly created tape
> with amdump, and as amrecover says, I'm have tryed to "set
> config,host before setting disk", but when I run sethost
> rasillo.pl.local, I get "501 Host rasillo.pl.local is not in your
> disklist".
>Why?

Did you use the machines hostname alias in the disklist?

>
>Here is the full output of the amrecover execution:
>
>-------------------------------------
>-------------------------------------------
>[root@rasillo amanda]# amrecover -C rasillo.pl.local
>AMRECOVER Version 2.4.4p3. Contacting server on localhost ...
>220 rasillo AMANDA index server (2.4.4p3) ready.
>200 Access OK
>Setting restore date to today (2006-02-24)
>200 Working date set to 2006-02-24.
>Warning: no log files found for tape lunes written 2006-02-24
>200 Config set to rasillo.pl.local.
>501 Host rasillo.pl.local is not in your disklist.
>Trying host rasillo.pl.local ...
>501 Host rasillo.pl.local is not in your disklist.
>Trying host rasillo ...
>501 Host rasillo is not in your disklist.
>amrecover> sethost rasillo.pl.local
>501 Host rasillo.pl.local is not in your disklist.
>Trying host rasillo.pl.local ...
>501 Host rasillo.pl.local is not in your disklist.
>Trying host rasillo ...
>501 Host rasillo is not in your disklist.
>amrecover>
>-------------------------------------
>-------------------------------------------
>
>
>and here are my config files:
>
>--/etc/amanda/rasillo.pl.local/amanda.conf----------------------------
>---------- org "rasillo.pl.local"          # your organization name
> for reports mailto "amanda"         # space separated list of
> operators at your site dumpuser "amanda"       # the user to run
> dumps under
>inparallel 1            # maximum dumpers that will run in parallel
> (max 63) dumporder "sssS"        # specify the priority order of each
> dumper netusage  600 Kbps      # maximum net bandwidth for Amanda, in
> KB per sec dumpcycle 5 days        # the number of days in the normal
> dump cycle runspercycle 5          # the number of amdump runs in
> dumpcycle days tapecycle 9 tapes       # the number of tapes in
> rotation
>bumpsize 20 Mb          # minimum savings (threshold) to bump level 1
> -> 2 bumpdays 1              # minimum days at each level
>bumpmult 4              # threshold = bumpsize * bumpmult^(level-1)
>etimeout 300            # number of seconds per filesystem for
> estimates. dtimeout 1800           # number of idle seconds before a
> dump is aborted. ctimeout 30             # maximum number of seconds
> that amcheck waits tapebufs 20
>tapedev "/dev/nst0"     # the no-rewind tape device to be used
>rawtapedev "/dev/null"  # the raw device to be used (ftape only)
>maxdumpsize -1          # Maximum number of bytes the planner will
> schedule tapetype HP-DAT72       # what kind of tape it is (see
> tapetypes below) amrecover_do_fsf yes            # amrecover will
> call amrestore with the amrecover_check_label yes       # amrecover
> will call amrestore with the autoflush no #
>indexdir "/etc/amanda/rasillo.pl.local/index"                   #
> index directory
>diskfile "/etc/amanda/rasillo.pl.local/diskfile"                      
>  # infofile "/etc/amanda/rasillo.pl.local/infofile"                  
>      # database directory
>logdir   "/etc/amanda/rasillo.pl.local/logdir"                  # log
>directory
>tapelist "/etc/amanda/rasillo.pl.local/tapelist"                      
>  # list of used tapes
>define tapetype HP-DAT72 {
>    comment "HP-DAT72 USB interface (compression on)"
>    length 31267 mbytes
>    filemark 524 kbytes
>    speed 1474 kps
>}
>
>define dumptype global {
>    comment "Global definitions"
>}
>
>define dumptype always-full {
>    global
>    comment "Full dump of this filesystem always"
>    compress none
>    priority high
>    dumpcycle 0
>}
>
>define dumptype always-full-tar {
>    global
>    comment "Full dump of this filesystem always with tar"
>    program "GNUTAR"
>    compress none
>    index
>    priority high
>    dumpcycle 0
>}
>
>define interface local {
>    comment "a local disk"
>    use 1000 kbps
>}
>
>define interface le0 {
>    comment "100 Mbps ethernet"
>    use 1000 kbps
>}
>
>--/etc/amanda/rasillo.pl.local/amanda.conf----------------------------
>---------- rasillo.pl.local /vol1 {
>        # all directories except the one that start with [a-u]
>        always-full-tar
>        high-tar
>        } 1
>--/etc/amanda/rasillo.pl.local/amanda.conf----------------------------
>---------- 127.0.0.1               localhost.localdomain localhost
>192.168.1.240           rasillo.pl.local rasillo
>-------------------------------------
>-------------------------------------------
>
>Thanks in advance

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.