First use: 
 * run manually as csbackup.cs. This will create a default config file
   $HOME/.csbackuprc. Edit this file so that it contains the correct
   information.

 * Create a ssh keypair with empty passphrase. Add the public key to
   $HOME/.ssh/authorized_keys2 ON SERVER SIDE. Put the filename of the private
   key in the config file. 
   
   For security reasons, you might want to disable shell login with this key,
   you can do the following ON SERVER SIDE:
   
   - create a file $HOME/bin/validate-rsync.sh with contents:

		#!/bin/sh
		case "$SSH_ORIGINAL_COMMAND" in
		*\&*)
		echo "Rejected" 
		;;
		*\;*)
		echo "Rejected"
		;;
		rsync\ --server*)
		$SSH_ORIGINAL_COMMAND
		;;
		*)
		echo "Rejected"
		;;
		esac

	 Make this file executable:

		chmod +x $HOME/bin/validate-rsync.sh

   - edit the file $HOME/.ssh/authorized_keys2, adding a prefix command="..."
	 to the line containing the public key used for the backup. The result
	 should be of the form:

		command="$HOME/bin/validate-rsync.sh" ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA+v4aFa7CgxlQCjyl/P1iF4AGTN3UJaW+iPQsyGJdSap0nR4Wzz9m/U2fOUJxEIOqFlyFd2V/eDHwEjYscKu767ascNOkF2kiagsRDcywn0KuFe++8DPoNttkvfxsWuKnsKXfJMI9Wl6jH5/8yQD6uOBJXvQz+OSe6HeFT/QJGIcIf2uqLEJFr6tkVAHTkaMe+RcrHXAS0/Ej64IOZbLQwlyIQOyS1+XDUkW6V04muapwBSdzlrfyLPa39GeG4YoSFpWHi3DWJs1oxYArfgr61xJEZ/jIY3brhtmY1NcHB3gbreSklLcILlgkjYIMsLlz8CivxgTk1vM53iAsPttRtQ== yves@dirac


OPTIONS
	-s, --setup
		Prepare the directory structure at server side
	
	-e, --etc
		Create backup of the files in /etc. Use this option _only_ when running
		the script manually as it will need the root password to be able to
		read the files in /etc.

	-i, --inside-cs
		Only do the backup if we are inside the CS network. If not, do nothing.
