this is the config file I use for the local host:
# Sample configuration file for localhost. release 4
$Conf{TarShareName} = ['/'];
$Conf{BackupFilesExclude} = ['/proc','/sys','/dev','/tmp','/home/e-smith/files','/opt/backuppc'];
$Conf{XferMethod} = 'tar';
$Conf{TarClientCmd} = '/usr/bin/sudo $tarPath -c -v -f - -C $shareName --totals';
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';
$Conf{TarClientRestoreCmd} = '/usr/bin/sudo $tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName';
$Conf{DumpPreUserCmd} = '/usr/local/bin/BackupPC_SME_pre-backup';
and here is what I use to backup another SME server:
$Conf{XferMethod} = 'rsync';
$Conf{RsyncShareName} = ['/'];
$Conf{RsyncClientPath} = '/usr/bin/rsync';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc $host /usr/bin/sudo $rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l backuppc $host /usr/bin/sudo $rsyncPath $argList+';
$Conf{BackupFilesExclude} = ['/proc','/sys','/dev','/tmp','/home/e-smith/files'];
$Conf{DumpPreUserCmd} = '$sshPath -l backuppc sas "/usr/local/bin/BackupPC_SME_pre-backup"';
Maybe you'd like to tweak the include/exclude part. If you're interested, I wrote this morning a how-to for a complete restore (on the same server after a crash or on a different server with different hardware). With this you can test if the restore process goes ok on a test server.
For this to work you'll need to create a user 'backuppc' on the remote server, give him sudo access to rsync and signal-event pre-backup without password and place the script /usr/local/bin/BackupPC_SME_pre-backup with execut permission.
This script is something like:
HOME=/root /usr/bin/sudo /sbin/e-smith/signal-event pre-backup