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'
|
||||
];
|
||||
|
26
root/etc/BackupPC/pc/smeserver-template.pl
Normal file
26
root/etc/BackupPC/pc/smeserver-template.pl
Normal file
@@ -0,0 +1,26 @@
|
||||
$Conf{RsyncShareName} = [
|
||||
'/'
|
||||
];
|
||||
$Conf{BackupFilesExclude} = {
|
||||
'/' => [
|
||||
'/var/lib/BackupPC/',
|
||||
'/proc',
|
||||
'/tmp',
|
||||
'/sys',
|
||||
'/dev',
|
||||
'/boot',
|
||||
'/mnt',
|
||||
'/media',
|
||||
'/selinux',
|
||||
'/aquota.*',
|
||||
'/lost+found',
|
||||
'/initrd',
|
||||
'/var/tmp',
|
||||
'/var/lib/mysql',
|
||||
'/var/spool/squid'
|
||||
]
|
||||
};
|
||||
$Conf{DumpPreUserCmd} = '$sshPath -l root $host /sbin/e-smith/signal-event pre-backup';
|
||||
$Conf{XferMethod} = 'rsync';
|
||||
$Conf{BackupsDisable} = 1;
|
||||
|
38
root/etc/BackupPC/pc/windows-template.pl
Normal file
38
root/etc/BackupPC/pc/windows-template.pl
Normal file
@@ -0,0 +1,38 @@
|
||||
$Conf{ClientCharset} = 'cp1252';
|
||||
$Conf{RsyncShareName} = [
|
||||
'cDrive'
|
||||
];
|
||||
$Conf{RsyncdPasswd} = 'secret';
|
||||
$Conf{RsyncdUserName} = 'backuppc';
|
||||
$Conf{XferMethod} = 'rsyncd';
|
||||
$Conf{BackupFilesExclude} = {
|
||||
'*' => [
|
||||
'*/hiberfil.sys',
|
||||
'*/pagefile.sys',
|
||||
'*/WUTemp',
|
||||
'*/RECYCLER',
|
||||
'*/UsrClass.dat',
|
||||
'*/UsrClass.dat.LOG',
|
||||
'*/NTUSER.DAT',
|
||||
'*/NTUSER.DAT.LOG',
|
||||
'*/Temporary?Internet?Files/*',
|
||||
'*/Documents?and?Settings/*/Recent',
|
||||
'*/Cache',
|
||||
'*/parent.lock',
|
||||
'*/Thumbs.db',
|
||||
'*/IconCache.db',
|
||||
'*/System?Volume?Information',
|
||||
'*/Temp/*',
|
||||
'*.tmp',
|
||||
'*.bak',
|
||||
'*/WINDOWS/system32/config/SYSTEM',
|
||||
'*/WINDOWS/system32/config/SOFTWARE',
|
||||
'*/WINDOWS/system32/config/SECURITY',
|
||||
'*/WINDOWS/system32/config/SECURITY.LOG',
|
||||
'*/WINDOWS/system32/config/SAM',
|
||||
'*/WINDOWS/system32/config/SAM.LOG',
|
||||
'*/WINDOWS/system32/config/DEFAULT',
|
||||
]
|
||||
};
|
||||
$Conf{BackupsDisable} = 1;
|
||||
|
Reference in New Issue
Block a user