Re: [BackupPC-users] Excluding directories with rsync

2006-06-27 Thread Bowie Bailey
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

Re: [BackupPC-users] Excluding directories with rsync

2006-06-27 Thread Trasher
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'; [...

[BackupPC-users] Excluding directories with rsync

2006-06-27 Thread Ron Abramson
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

[BackupPC-users] Excluding directories with rsync

2006-03-09 Thread Dan D Niles
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

[BackupPC-users] Excluding directories with rsync

2006-03-09 Thread Edward Janowiak
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} = [        #        #