Re: [BackupPC-users] Arguments for --filter don't get proper escaping

2009-01-30 Thread Thomas Karcher
Hi, Is your space character different from the one above (other than being escaped As far as I see, no - you are thinking of tab or sth.? Unfortunately, the issue arose another time: I'm backing up a system via ssh - sudo rsync ... again, I specified '--filter=:- /nobackup.txt' in the

[BackupPC-users] Arguments for --filter don't get proper escaping

2009-01-29 Thread Thomas Karcher
Hi there, I'm thrilled of this just discovered feature of rsync: --filter Now I want to use it in BackupPC, so I added this to $Conf{RsyncArgs}: '--filter=:- /nobackup.txt' My problem is that there seems to be something wrong with the escaping of the space ... I observed that with an rsyncd as

Re: [BackupPC-users] Arguments for --filter don't get proper escaping

2009-01-29 Thread Juergen Harms
A nice workaround to this backslashing problem is to place your filter statements into a file - say /home/user/rsync_filters - and add a corresponding statement to your arguments: --filter=.\ /home/user/.usync/filters If you later want to add additional filter statements to your

Re: [BackupPC-users] Arguments for --filter don't get proper escaping

2009-01-29 Thread Holger Parplies
Hi, Juergen Harms wrote on 2009-01-29 10:41:22 +0100 [Re: [BackupPC-users] Arguments for --filter don't get proper escaping]: Thomas Karcher wrote on 2009-01-29 09:59:51 +0100 [[BackupPC-users] Arguments for --filter don't get proper escaping]: I'm thrilled of this just discovered

Re: [BackupPC-users] Arguments for --filter don't get proper escaping

2009-01-29 Thread Thomas Karcher
Hi Holger, I observed that with an rsyncd as backup partner, everything seems to work fine, but with a command line rsync, it's odd: Running: /usr/bin/sudo /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048

Re: [BackupPC-users] Arguments for --filter don't get proper escaping

2009-01-29 Thread Juergen Harms
Is your space character different from the one above (other than being escaped For a single filter statement there is no diffence whatever - the advantage comes if you add additional filter statements - if Thomas starts setting things up, why not in a way that scales? Sorry for the other two