rami.info



Installing Amanda Backup On Unix

Posted in AtWherever by Rami on the February 20th, 2005

Amanda Install:
Make sure you have installed gtar >= 1.3.17

Clients:
su root
./configure –prefix=/var/amanda –with-gnutar-listdir=/var/amanda/var/gnutar-lists –with-tmpdir=/var/amanda/tmp –with-user=amanda –with-group=sys –without-server
make
make install

vim /etc/inetd.conf and add
amanda dgram udp wait amanda /var/amanda/libexec/amandad amandad

vim /etc/services and add
amanda 10080/udp

kill -HUP

Server:
su root
./configure –prefix=/var/amanda –with-gnutar-listdir=/var/amanda/var/gnutar-lists –with-tmpdir=/var/amanda/tmp –with-user=amanda –with-group=sys
make
make install

vim /etc/services and add
amanda 10080/udp
amandaidx 10082/tcp
amidxtape 10083/tcp

vim /etc/inetd.conf and add
amandaidx stream tcp nowait amanda /var/amanda/libexec/amindexd amindexd
amidxtape stream tcp nowait amanda /var/amanda/libexec/amidxtaped amidxtaped
amanda dgram udp wait amanda /var/amanda/libexec/amandad amandad

kill -HUP

su amanda
mkdir -p /var/amanda/etc/daily
place your amanda.conf and disklist in /var/amanda/etc/daily

Both server and clients:
su root
touch /etc/amandates
chown amanda:sys /etc/amandates
chown amanda:sys /var/amanda
su amanda
mkdir -p /var/amanda/etc /var/amanda/index /var/amanda/log /var/amanda/var/gnutar-lists
touch /var/amanda/var/amanda-excludes

vim /var/amanda/.amandahosts and add
localhost amanda
localhost root
server fqdn amanda
server fqdn root

Leave a Reply