Ron Abramson wrote:
> I just started with BackupPC. I am using rsync to back up my Linux
> machines, and it is working. However, I want to exclude some large,
> nonessential files and directories from the backup. I put a
> $Conf{BackupFilesExclude} line in the config file for the Linux
> client
Hello,
As for me I just use the following config.pl for my localhost using
rsync :
$Conf{BackupFilesOnly} = ['/etc', '/boot', '/var', '/home'];
$Conf{BackupFilesExclude} = ['/var/cache', '/var/temp'];
$Conf{XferMethod} = 'rsync';
$Conf{RsyncShareName} = '/';
$Conf{ArchiveComp} = 'bzip2';
[...
I just started with BackupPC. I am using rsync to back up my Linux machines, and it is working. However, I want to exclude some large, nonessential files and directories from the backup. I put a
$Conf{BackupFilesExclude} line in the config file for the Linux client in question, but it does not
Just use the $Conf option. Assuming /var is on a seperate partition:
$Conf{BackupFilesExclude} = {
'/var' => [
'/tmp',
],
}
If it is on the / partition:
$Conf{BackupFilesExclude} = {
'/' => [
'/var/tmp',
],
}
If you really want to
Does anyone have any working examples of using --exclude with rsync? I've tried the following syntax already: '--exclude', '/var/tmp/', '--exclude', '/var/tmp',Here's the appropriate section from the per-pc
config.pl with the latest attempt at the bottom:$Conf{RsyncArgs} = [ # #