FWIW, here's my localhost.pl file:

#
# Local server backup of /etc as user backuppc
#
$Conf{XferMethod} = 'tar';

#for some reason pings fail
$Conf{PingCmd} = '/bin/true';


$Conf{BackupFilesExclude} = ['/proc', '/sys', '/var/lib/backuppc', '/var/log', 
'/tmp', '/var/tmp', '/staff', '/mnt'];

#$Conf{TarShareName} = ['/etc', '/var/lib/backuppc/.ssh/', '/root'];
$Conf{TarShareName} = ['/'];

$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath -c -v -f - 
-C $shareName'
                        . ' --totals';

# turning off compression on these files, so they can be recovered without
# backuppc.
# wouldn't make sense to need your backup server, 
# in order to recover your backup server, now would it?
$Conf{CompressLevel} = 0;

# do backups anytime
$Conf{BlackoutPeriods} = [];

# remove extra shell escapes ($fileList+ etc.) that are
# needed for remote backups but may break local ones
#$Conf{TarFullArgs} = '$fileList';
#$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to