next up previous contents
Next: 2 Big Brother Up: Redhat FAQ Previous: Contents   Contents

Subsections

1 Amanda

1.1 Clients

  1. Create the amanda user. Put it in a a group that can do raw reads and writes to disk devices.
    $ sudo useradd -u 250 -g adm -G disk -d /var/amanda -m -s /bin/bash amanda
  2. Change into the amanda source directory, configure, make and install
    $ cd amanda-<version> 
    $ ./configure -with-user=amanda -with-group=adm 
    $ make 
    $ sudo make install
  3. Create a file called .amandahosts in the amanda home directory. It should contain at least the following lines.
    <backup server>         amanda 
    <backup server FQDN>    amanda
  4. Add to /etc/services:
    amanda        10080/udp  
    amandaidx     10082/tcp  
    amidxtape     10083/tcp
  5. On Linux create the file /etc/xinetd.d/amanda:
    # default: off 
    # description: AMANDA backup services 
    # 
     
    service amanda 
    { 
        socket_type = dgram 
        wait       = yes 
        user       = amanda 
        group      = adm 
        server     = /usr/local/libexec/amandad 
        disable    = no 
    } 
     
    service amandaidx 
    { 
        socket_type = stream 
        wait       = no 
        user       = amanda 
        group      = adm 
        server     = /usr/local/libexec/amindexd 
        disable    = no 
    } 
     
    service amidxtape 
    { 
        socket_type = stream 
        wait       = no 
        user       = amanda 
        group      = adm 
        server     = /usr/local/libexec/amidxtaped 
        disable    = no 
    }
  6. On Solaris add to /etc/inetd.conf: 
    amanda    dgram  udp wait   amanda /usr/local/libexec/amandad    amandad  
    amandaidx stream tcp nowait amanda /usr/local/libexec/amindexd   amindexd  
    amidxtape stream tcp nowait amanda /usr/local/libexec/amidxtaped amidxtaped
  7. Restart xinetd on Linux or inetd on Solaris.
  8. Create some necessary files and directories
    $ sudo mkdir -p /usr/local/var/amanda/gnutar-lists 
    $ sudo chown -R amanda:adm /usr/local/var/amanda 
    $ sudo touch /etc/amandates 
    $ sudo chown amanda /etc/amandates


next up previous contents
Next: 2 Big Brother Up: Redhat FAQ Previous: Contents   Contents
2005-03-20