Hi, all,

I recently upgraded from amanda-2.4.5 to amanda-2.6.0_p2-r4.  I think
I've been able to make backups
successfully: the backup reports amanda sends afterwards look
reasonable.  However, I've not been able
to do restores.  It appears that the contents of
/etc/amanda/amandahosts and /etc/xinetd.d/amanda have
changed between these two versions, and I suspect that my attempts at
updating the contents are at
fault.

My 2.4.5 amandahosts file looked like this:

my_host.my_domain                       amanda
my_host.my_domain                       root

and the 2.6.0_p2-r4 amandahosts looks like:

my_host.my_domain                       amanda amdump
my_host.my_domain                       root amindexd amidxtaped


My 2.4.5 amanda file looked like this:

service amanda
{
        socket_type     = dgram
        protocol        = udp
        wait            = yes
        user            = amanda
        group           = amanda
        groups          = yes
        server          = /usr/libexec/amanda/amandad
        only_from       = 192.168.1.0
        disable         = no
}

service amandaidx
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = amanda
        group           = amanda
        groups          = yes
        server          = /usr/libexec/amanda/amindexd
        only_from       = 192.168.1.0
        disable         = no
}

service amidxtape
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = amanda
        group           = amanda
        groups          = yes
        server          = /usr/libexec/amanda/amidxtaped
        only_from       = 192.168.1.0
        disable         = no
}


and my 2.6.0_p2-r4 amanda file looks like:

service amanda
{
        disable         = no
        flags           = IPv4
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = amanda
        group           = amanda
        groups          = yes
        server          = /usr/libexec/amanda/amandad
        server_args     = -auth=bsdtcp amdump amindexd amidxtaped
}

The above was taken from
/usr/share/doc/amanda-2.6.0_p2-r4/example/xinetd.amandaserver.bz2.

A run of amcheck shows no errors.

Running su -c "/usr/sbin/amadmin my_host find" amanda produces the
expected output.

Running amrecover -C my_host -t my_host -s my_host -d
file:/backup/my_host/vtapes
produces a pause of about 30 seconds then the following output:
AMRECOVER Version 2.6.0p2. Contacting server on my_host ...
[request failed: timeout waiting for ACK]

/var/log/messages contains nothing enlightening.  Neither does
/var/amanda/my_host/log.*

Thanks for any ideas on how to debug this!

John Blinka

Reply via email to