
Backing Up and Archiving to Tape with Amanda
|
253
Configuring Amanda
The /etc/services file should already have entries with the following names and port
numbers. If these entries are not present, edit the /etc/services file and add them at
the end. The comments are optional:
/etc/services:
amanda 10080/udp # amanda backup services
amandaidx 10082/tcp # amanda backup services
amidxtape 10083/tcp # amanda backup services
You may also need to edit the /etc/inetd.conf file, which should contain the following
entries:
/etc/inetd.conf: (for clients)
amanda dgram udp wait backup /usr/sbin/tcpd /usr/lib/amanda/amandad
/etc/inetd.conf: (for server)
amandaidx stream tcp nowait backup /usr/sbin/tcpd /usr/lib/amanda/amindexd
amidxtape stream tcp nowait backup /usr/sbin/tcpd /usr/lib/amanda/amidxtaped
The first entry, named amanda, is needed on all clients. The other two entries are
needed only on the server. If these lines are not present, edit the /etc/inetd.conf file
and add them at the end.
Amanda uses random ports after the initial communication. You should use Amanda
over the Internet only through a VPN. This prevents the need to open a wide range
of ports from the Internet into your LAN.
Amanda runs as the user backup with disk group permissions. You will need to set
access permissions for all files that you want to back up so that they can be read by
Amanda.
The Amanda server needs to be well connected to