Hello intrigeri,

On Thu, Jan 05, 2012 at 03:36:23PM +0100, intrigeri wrote:
> Paul van Tilburg wrote (05 Jan 2012 12:43:30 GMT) :
> > I tried to change the rsync options of the handler by setting:
> >   rsync_options = -avF --delete
> > when I noticed that --delete didn't make it to the commandline.
> 
> May you please try to apply the following patch?
> 
> https://labs.riseup.net/code/projects/backupninja/repository/revisions/926152dfa1c3b076488bf768ae6cd2282cfa5497/diff/handlers/rsync.in
> 
> It would help confirm this bug was fixed upstream by commit 926152.
> 
> (I hope the patch applies as is onto 0.9.10, but I've not tried it myself.)

It applies as is onto 0.9.10, but it did not help.  Given the above
rsync_options, it runs:

  Debug: nice -n 0 /usr/bin/rsync -avF --exclude=/bin --exclude=/sbin [...]

So, the --delete got dropped.

Another thing, I have excludes like:
  
  exclude = /home/*/.cache

which works fine.  But I also have:

  exclude = /home/*/Music
  exclude = /home/*/Videos

which is expanded to --excluded=/home/user1/Music
--exclude=/home/user2/Music ... but then for users on the local side, which
makes no sense.  Why are these expanded and the excludes with the dot
dirs not?

Cheers,
Paul

-- 
Using the Power of Debian GNU/Linux  | E-mail: pau...@debian.org
Jabber/GTalk: p...@luon.netl         | GnuPG key ID: 0x50064181



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to