Hi !

A Debian user noticed that --exclude options are not used when
rsync is used. Indeed, I see that RsyncP.pm removes this option,
but the documentation recommends using --exclude.

I think that the documentation should be fixed.

Cheers,

  Ludovic.


On Fri, Sep 26, 2008 at 03:33:31PM +0200, Vladislav Kurz wrote:
> On Friday 26 of September 2008, you wrote:
> > Le vendredi 26 septembre 2008 12:21, Vladislav Kurz a écrit :
> > > I did some experiments and found a workaround.
> > >
> > > Don't use rsync --exclude, but $Conf{BackupFilesExclude}
> >
> > Yes that's what I suspected. You have to use $Conf{BackupFilesExclude}
> > because in RsyncP.pm there's code to remove --exclude options passed from
> > other options.
> > I do not think that the developpers will fix that since it's done on
> > purpose. That's why I'll close the bug.
> 
> But it should be consistent. Either remove them always or never. And it 
> should 
> be a documented behavior. However current documentation even recommends 
> using --exclude. 
> 
> See http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_rsyncargs_
> 



-- 
Ludovic Drolez.

http://www.palmopensource.com               - The PalmOS Open Source Portal
http://www.drolez.com      - Personal site - Linux, Zaurus and PalmOS stuff

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-devel mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to