#/etc/backuppc/linux.pl

#This file should be included in all linux host config files to set
#the defaults.  This file will override all settings in the config.pl
#file, except those in the "General server configuration" section.
#Note that each host can override these settings in its own config file.

#See config.pl for an explanation of the options.


# Set number of days minus .03 between full backups, or -1 to only do
# manual backups, or -2 to suspend all backups.
$Conf{FullPeriod} = 6.97;

# This method runs rsync through an ssh session.
$Conf{XferMethod} = 'rsync';

# Select either files to archive or files to exclude.
$Conf{BackupFilesOnly} = undef;
$Conf{BackupFilesExclude} = ['/mnt/*/*', '/mnt/*/.*', '/media/*/*', '/media/*/.*', '/root/images/*', '/sys/*', '/tmp/*', '/tmp/.*', '/proc/*', '/var/lib/backuppc', '/var/archive*', '/var/backup'];

# Commands to be run before a backup.
#$Conf{DumpPreUserCmd} = '$sshPath -q -x -l root $host /usr/local/sbin/mysql-bu';

# Set Maximum ping time: 20 msec for lan, 300 msec for wan.
$Conf{PingMaxMsec} = 20;

# Set number of days minus .03 between incremental backups.
$Conf{IncrPeriod} = 0.97;

# Number of full backups to keep (see config.pl for description).
$Conf{FullKeepCnt} = [4, 2, 2, 2, 2];

# Set number of days to warn if no backups have been made.
$Conf{EMailNotifyOldBackupDays} = 7.0;
