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 --recursive --checksum-seed=32761 --one-file-system
> > > --filter=:-\\\ /nobackup.txt . /
> Actually, you need to use '$argList' instead of '$argList+' in
> $Conf{RsyncClientCmd} (and $Conf{RsyncClientRestoreCmd}). You are not
> passing the arguments through a shell (as you are when using 'ssh'),
> so you don't want
For non-ssh-rsync-clients, that did the trick! Thank you!
> any escaping. That also means you should remove the backslash you apparently
> have in there now - contrary to your statement above. The entry in RsyncArgs
> should read '--filter=:- /nobackup.txt'. It is passed as one argument to
> 'sudo', which will pass it on as one argument to 'rsync', I believe. Quite
I re-checked: There is no "\" in my config.pl or <host>.pl in the
--filter statement! It is as I described. (The output comes from manual
command line backup.)
But arguments are handled differently depending on whether I use rsync
locally, rsync via ssh or rsyncd. So carefully applying the "+" does the
trick after all.
Thank you,
Thomas
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword _______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|