Wednesday 10 October 2007

Amanda essentials on Debian etch

The version of amanda that ships with Debian etch has got a bit more sophisticated in it's authentication.

Out of the box, it doesn't let you restore with amrecover. Here's the changes I've had to do to make it work.

Firstly, in /etc/inetd.conf the amanda service lines change to:

amandaidx stream tcp nowait backup /usr/sbin/tcpd /usr/lib/amanda/amindexd -auth=bsd amdump amindexd amidxtaped
amidxtape stream tcp nowait backup /usr/sbin/tcpd /usr/lib/amanda/amidxtaped -auth=bsd amdump amindexd amidxtaped
amanda dgram udp wait backup /usr/sbin/tcpd /usr/lib/amanda/amandad -auth=bsd amdump amindexd amidxtaped

inetd then needs restarting to pick up this change

Then in /etc/amandahosts, "amindexd amidxtaped" needs adding to any lines giving root access to do the restore

No comments: