initial commit of file from CVS for smeserver-BackupPC on Sat Sep 7 20:10:07 AEST 2024
This commit is contained in:
32
root/etc/BackupPC/pc/localserver-template.pl
Normal file
32
root/etc/BackupPC/pc/localserver-template.pl
Normal file
@@ -0,0 +1,32 @@
|
||||
$Conf{RsyncShareName} = [
|
||||
'/'
|
||||
];
|
||||
$Conf{BackupFilesExclude} = {
|
||||
'/' => [
|
||||
'/var/lib/BackupPC',
|
||||
'/proc',
|
||||
'/tmp',
|
||||
'/sys',
|
||||
'/dev',
|
||||
'/boot',
|
||||
'/mnt',
|
||||
'/media',
|
||||
'/selinux',
|
||||
'/aquota.*',
|
||||
'/lost+found',
|
||||
'/initrd',
|
||||
'/var/tmp',
|
||||
'/var/lib/mysql'
|
||||
]
|
||||
};
|
||||
$Conf{DumpPreUserCmd} = '/usr/bin/sudo /usr/share/BackupPC/bin/BackupPC_SME_pre-backup';
|
||||
$Conf{XferMethod} = 'rsync';
|
||||
$Conf{RsyncClientCmd} = '/usr/bin/sudo $rsyncPath $argList+';
|
||||
$Conf{RsyncClientRestoreCmd} = '/usr/bin/sudo $rsyncPath $argList+';
|
||||
$Conf{ClientNameAlias} = '127.0.0.1';
|
||||
$Conf{BackupsDisable} = 1;
|
||||
$Conf{RsyncSshArgs} = [
|
||||
'-e',
|
||||
'/usr/bin/sudo -p'
|
||||
];
|
||||
|
Reference in New Issue
Block a user