On Wed, 3 Apr 2002 at 6:25pm, Tom Van de Wiele wrote

> Hello list
> 
> I have a backupserver with two partitions on it that need to be backup'd
> + 2 clients.
> 
> I have a .amandahosts in the amanda user's $HOME.  It has this in it:
> 
> [cut]
> hostname.eduline.be   amanda
> [/cut]
> 
> To make backups, this works fine.  But when I want to amrecover files, I
> get that amanda authhosts failed.  When I change the user to "root"
> instead of "amanda", then amrecover works.  Is there a more sudle way
> then to always change that user in that file?

amrecover needs to be run as root, so .amandahosts on the server must 
allow root access from the clients.  Thus, a sample .amandahosts file on 
the amanda server might look like:

tapeserver.somewhere.com amanda
tapeserver.somewhere.com root
client1.somewhere.com    root
.
.

etc.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

Reply via email to