Amanda-Users

amrecover says "Host is not in your disklist"

2006-02-24 08:41:06
Subject: amrecover says "Host is not in your disklist"
From: "Foro Linux" <forolinux AT gmail DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 24 Feb 2006 14:25:37 +0100
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?

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