Re: rsync out of memory in flist_expand

2011-06-21 Thread Christophe Lyon
It ends with: rsync: connection unexpectedly closed See the issues and debugging page for lots of hints about what that means and how to go about debugging it. Thanks for the hint. However, I couldn't use the --rsync-path option: there is no error message, but the option is not taken into

Re: rsync out of memory in flist_expand

2011-06-20 Thread Christophe Lyon
On Mon, Jun 20, 2011 at 8:40 AM, Wayne Davison way...@samba.org wrote: On Fri, Jun 17, 2011 at 2:22 AM, Christophe Lyon christophe.l...@gmail.com wrote: When using rsync-3.0.8 from Ubuntu, it seemed to be looping with make_file(usr/bin/head, ...). Do you have a bind mount in that hierarchy

rsync out of memory in flist_expand

2011-06-17 Thread Christophe Lyon
Hi, I have been using rsync for years to perform my backups, but since a few days it crashes with an out of memory error. I am running Ubuntu 11.04/x86_64, which ships rsync-3.0.8, and I have also tried with the git version. I can see the following messages: [generator] expand file_list pointer

Re: include/exclude

2007-01-16 Thread Christophe LYON
You can still use --filter: --filter=: my-rsync-filter will include the file my-rsync-filter in the list of rules (and recursively at each directory level). This is very powerful and allows you to modify the filters without modifying the script which calls rsync. Christophe. On 16.01.2007

sending the same source to several dests

2006-11-09 Thread Christophe LYON
Hello, I am using rsync to mirror a source tree towards several destinations. Currently, I start rsync as many times as I have destinations, is there a better way that would for instance need to scan the source tree only once? Thanks Christophe. -- To unsubscribe or change options:

Re: protecting files from deletion, and using --delete-excluded

2006-09-05 Thread Christophe LYON
Matt McCutchen wrote: On 9/4/06, Christophe LYON [EMAIL PROTECTED] wrote: It seems that the problem is not really solved :-( You're using rsync 2.6.8 with only my first patch, right? By fixing one bug (merge files being lost altogether), that patch revealed the bug you're seeing now (- rules

Re: protecting files from deletion, and using --delete-excluded

2006-09-04 Thread Christophe LYON
Matt, It seems that the problem is not really solved :-( If I understand correctly, I have to send the filter file to the receiver, so that it can be used for deletion phase, right? So I added --filter='+ /rsync-filter' to my options. That is, I start rsync -rltgoDuvR --delete-after

Re: protecting files from deletion, and using --delete-excluded

2006-08-30 Thread Christophe LYON
Matt McCutchen wrote: On 8/29/06, Christophe LYON [EMAIL PROTECTED] wrote: At some point I have mirrored all of them, but now I want to be able to tell rsync to: - remove all r1.* and r2.* releases - skip r3.* releases (ie don't scan them, but don't delete them) - sync r4.* releases I am

protecting files from deletion, and using --delete-excluded

2006-08-29 Thread Christophe LYON
Hi all, I am trying to write a script based on rsync to help users select what they want to mirror, what they want to skip and what they want to delete on the remote side. Let's say that I have 1 directory per release: r1.0 r1.1 r2.0 r2.1 r3.1 r3.2 r4.0 r4.1 At some point I have mirrored

Re: deleting remote dirs I no longer want to backup

2006-01-23 Thread Christophe LYON
Wayne Davison wrote: On Fri, Jan 20, 2006 at 07:30:00PM +0100, Christophe LYON wrote: My original command was: rsync -aR --exclude=dirb --exclude-deleted dira dirb /tmp I assumed the -R was unneeded because dira and dirb have no path information. If that info was elided, then things may

deleting remote dirs I no longer want to backup

2006-01-20 Thread Christophe LYON
Hi all, I have been using rsync to copy multiple dirs, eg: rsync -aR dira dirb /tmp Now, I no longer want to copy dirb, and I want it to be removed on the remote side, and I cannot figure how to achieve this. I tried: rsync -aR --exclude=dirb --exclude-deleted dira dirb /tmp but this has

Re: deleting remote dirs I no longer want to backup

2006-01-20 Thread Christophe LYON
There are several solutions, and which one is right for you depends on how new your rsync version is. For instance, a way that works with any rsync version is to copy from an empty dir to get rsync to do a deletion: mkdir empty-directory rsync -av --delete --include=/dirb --exclude='*'