A tiny backup script based on rsync

    Version 20040613

    Copyright 2004, Steffen Prohaska <prohaska@zib.de>

    Licensed under the Open Software License version 2.1
    A copy of the license can be downloaded from
    http://opensource.org/licenses/osl-2.1.php

INTRODUCTION

    The script backups a client to a machine running a rsync server.
    If you don't want to install a rsync server, you have to change
    the script.
    
INSTALL

    The tar bundle contains two subdirs.
   
  Server

    The server machine which should be running
    a rsync server (see man 1 rsync, look for 'rsync --server --daemon'). 

    Each client gets a separated area in the filesystem to which rsync
    will chroot before transfering files. This should guarantee a 
    certain amount of security. 

    Each client uses a different password to authenticate at the rsync server.
    The subdirectory server contains some example files. 
    
  Adding a Client 

    To add a new client proceed as follows.
        On the server:
          - Choose a unique client name and generate a password for this client
          - Edit /etc/rsyncd.conf and add a new client area
          - Add the client:password pair to /etc/rsyncd.secrets
        On the client:
          - Copy the client subdirectory to your client
          - Edit the config section of backup.sh
            * set your HOSTNAME (i.e. the unique client name you chose)
            * set the BACKUPSERVER
          - Put the password into the file password
          - Edit the file exclude to specify which parts of the filesystem
            shall be included in the backup (man 1 rsync, EXCLUDE PATTERNS)

  Triggering a backup
    
    Backups are run manually. To learn how, run './backup.sh --help' and read through 
    the help message.

    An automatic way to run the backup is not subject of this document. How to 
    organize the backup space on the server is also not subject of this document.
    You should consider to remove old snapshots on a regular basis.
