Re: [BackupPC-users] BackupFilesExclude strips trailing / on patterns for rsync

2008-10-08 Thread John Rouillard
On Thu, Oct 09, 2008 at 04:07:48AM +0200, Holger Parplies wrote: > John Rouillard wrote on 2008-10-08 20:06:21 + [[BackupPC-users] > BackupFilesExclude strips trailing / on patterns for rsync]: > > [...] > > I have set up a rule like this to eliminate many gigbaytes of files > > with the follo

Re: [BackupPC-users] BackupFilesExclude strips trailing / on patterns for rsync

2008-10-08 Thread Holger Parplies
Hi, John Rouillard wrote on 2008-10-08 20:06:21 + [[BackupPC-users] BackupFilesExclude strips trailing / on patterns for rsync]: > [...] > I have set up a rule like this to eliminate many gigbaytes of files > with the following config file entries: > > $Conf {BackupFilesExclude} = >...

[BackupPC-users] BackupFilesExclude strips trailing / on patterns for rsync

2008-10-08 Thread John Rouillard
Hi Folks: On Sat, Aug 23, 2008 at 02:45:42AM +0200, Holger Parplies wrote: > I would implement this like BackupPC does, though it's > perhaps not intuitive :-). If you are using rsync(d), that is. It won't work > with tar or smb. > > $Conf {BackupFilesExclude} = > [ '/proc', '/sys', '/mnt', >

Re: [BackupPC-users] $Conf{SshPath} and expect script

2008-10-08 Thread Jean-Michel Beuken
Hello Holger, > > not really, we can use "-o 'StrictHostKeyChecking no'" (and "-q", but that's > in by default anyway) and possibly "-o 'BatchMode yes'" too. See ssh_config(1) > for details. thanks ! it's the options that I have needed ! > >> [...] >> this script works well "outside" the Back

Re: [BackupPC-users] Script for managing mdadm add/removes

2008-10-08 Thread dan
yes, UDEV can do an action for a device by UUID or serial number or label etc etc. On Wed, Oct 8, 2008 at 11:42 AM, Nils Breunese (Lemonbit) <[EMAIL PROTECTED] > wrote: > Rob Owens wrote: > > > dan wrote: > >> Your best bet here is to use udev rule for the device > >> > > > > Careful! This will

Re: [BackupPC-users] Script for managing mdadm add/removes

2008-10-08 Thread Nils Breunese (Lemonbit)
Rob Owens wrote: > dan wrote: >> Your best bet here is to use udev rule for the device >> > > Careful! This will sync *any* drive that you plug in, won't it? Or > is > there a way to have a udev rule that applies to only a drive with a > specific UUID? I believe it's possible to have udev rul

Re: [BackupPC-users] Script for managing mdadm add/removes

2008-10-08 Thread Rob Owens
dan wrote: > Your best bet here is to use udev rule for the device > Careful! This will sync *any* drive that you plug in, won't it? Or is there a way to have a udev rule that applies to only a drive with a specific UUID? -Rob > whenever the drive gets plugged in it should run the script >