Re: Trouble with new Client

2009-11-29 Thread Thomas Wegner
Am Sonntag, den 29.11.2009, 13:18 -0600 schrieb Dustin J. Mitchell:
Hi Dustin!
Thanks a lot. It works!  :-))
> On closer inspection, the error message in the original post gives
> enough information to reconstruct the proper amandahosts line.
> 
> > Amanda Backup Client Hosts Check
> > 
> > ERROR: NAK chef: user backup from knecht.fritz.box is not allowed to
> > execute the service noop: Please add "amdump" to the line
> > in /var/backups/.amandahosts on the client
> 
> So this is an amcheck run, presumably to be followed by an amdump run,
> from host knecht.fritz.box, and sending username "backup".  So, on the
> client (not the server!), you should add
> 
> knecht.fritz.box backup amdump
> 
> to /var/backups/.amandahosts
That's it. Not using FQDN was my problem.


-- 
Best Regards

Thomas Wegner

www.tommiwe.de



Re: Trouble with new Client

2009-11-29 Thread Dustin J. Mitchell
On Sun, Nov 29, 2009 at 9:57 AM, Dustin J. Mitchell  wrote:
> I suspect you're adding it to the right file, but in the wrong format.
>  It needs to be
> $server_fqdn amdump
> where $server_fqdn is the hostname Amanda gets when it does a reverse
> DNS lookup of the server's IP address.
>
> See http://wiki.zmanda.com/man/amanda-auth.7.html

On closer inspection, the error message in the original post gives
enough information to reconstruct the proper amandahosts line.

> Amanda Backup Client Hosts Check
> 
> ERROR: NAK chef: user backup from knecht.fritz.box is not allowed to
> execute the service noop: Please add "amdump" to the line
> in /var/backups/.amandahosts on the client

So this is an amcheck run, presumably to be followed by an amdump run,
from host knecht.fritz.box, and sending username "backup".  So, on the
client (not the server!), you should add

knecht.fritz.box backup amdump

to /var/backups/.amandahosts

HTH,
Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com


Re: Trouble with new Client

2009-11-29 Thread Dustin J. Mitchell
On Sun, Nov 29, 2009 at 7:15 AM, Thomas Wegner  wrote:
> I wonder where I have to add those lines? I've added it
> in /var/lib/.amamdahosts, /var/backups/.amandahosts which is a symbolic
> link to /etc/amandahosts. The error messages are still the same.
> What can I do?

I suspect you're adding it to the right file, but in the wrong format.
 It needs to be
$server_fqdn amdump
where $server_fqdn is the hostname Amanda gets when it does a reverse
DNS lookup of the server's IP address.

See http://wiki.zmanda.com/man/amanda-auth.7.html

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com


Trouble with new Client

2009-11-29 Thread Thomas Wegner
Hi!

Amanda is running on my server since August 2009. I backup only one
ubuntu-client.
3 weeks ago I made a completely new installation on my ubuntu-client
using ubuntu karmic-koala. I installed amamda-client on this client and
restored all necessary files from my amanda-server. It works very well. 
But now I want to backup my client like 3 weeks ago. The backup ends
with an error. This is the message:

Amanda Backup Client Hosts Check

ERROR: NAK chef: user backup from knecht.fritz.box is not allowed to
execute the service noop: Please add "amdump" to the line
in /var/backups/.amandahosts on the client

I wonder where I have to add those lines? I've added it
in /var/lib/.amamdahosts, /var/backups/.amandahosts which is a symbolic
link to /etc/amandahosts. The error messages are still the same.
What can I do?

-- 
Best Regards

Thomas Wegner

www.tommiwe.de