Re: weird interaction between --delete-delay and --partial-dir when transfer is interrupted

2008-12-22 Thread Michal Soltys
Either way - as a workaround, you could drop delete-excluded, and then just finalize the thing with something like: find /bar/ -depth -name .rsync-partial -exec rm -rf {} \; I meant more like: -name .rsync-partial -prune -exec . Shivkumar Venkatasubrahmanyam wrote: Makes sense. And

Re: weird interaction between --delete-delay and --partial-dir when transfer is interrupted

2008-12-22 Thread Shivkumar Venkatasubrahmanyam
Michal Soltys wrote: Either way - as a workaround, you could drop delete-excluded, and then just finalize the thing with something like: find /bar/ -depth -name .rsync-partial -exec rm -rf {} \; I meant more like: -name .rsync-partial -prune -exec . Shivkumar Venkatasubrahmanyam

batch mode hangs if dest is uptodate

2008-12-22 Thread Bill Wendin
I have been using batch mode successfully. I try this using cygwin on a PC with 3.0.4 version of rsync. The two PackageOlder dirs are identical cygwin diff -r /home/bill/tmp/PackageB /home/bill/PackageB cygwin rsync -vv --only-write-batch=/Temp/changeAtoB.rsync -rptO -L --delete-delay

Re: weird interaction between --delete-delay and --partial-dir when transfer is interrupted

2008-12-22 Thread Michal Soltys
Shivkumar Venkatasubrahmanyam wrote: ... then without -f 'R .rp/', dst/.rp is not removed. With -f 'R .rp/', it is removed but if dst/a is updated then we have the same issue (exit with code 23). This is entirely consistent with your strace i.e. code 23 whenever there are two separate

Re: Odd behavior in an exclude-file

2008-12-22 Thread henri
Try putting some additional line breaks at the end of your file. I am not sure if this will solve your issues. Give it a go and report back if this resolves the issue. Hope this helps I decided the most secure way to deal with backup/firewall issues between my work and home was to encrypt

Re: Odd behavior in an exclude-file

2008-12-22 Thread Matt McCutchen
On Fri, 2008-12-19 at 10:01 -0600, Roy F. Cabaniss wrote: rsync -avl --stats --progress --timeout=300 --exclude-from /home/foo/bin/exclude.txt /home /mnt/sdc2 Since there are, as with any backups, files I don't want to bother backing up I created an exclude file and stored it in my bin.

rsync --link-dest option with the destination directory containing old files.

2008-12-22 Thread Robert Bell
Way back: -- Forwarded message -- Date: Mon, 2 Jun 2003 09:56:50 -0700 (PDT) From: Michael Rubel mrubel at galcit.caltech.edu To: rsync at lists.samba.org Subject: --link-dest when target and compare_dir both have file Hi J.W. et al, Kevin Everets was kind enough to

Re: Rsync via two ssh tunnels possible (standard method mentioned k times not possible?)

2008-12-22 Thread Justin Pryzby
On Fri, Dec 12, 2008 at 12:56:24PM +0100, Roman Fiedler wrote: Hi list, After reading rsync docu and doing online search, I still failed to find a simple solution for following problem: The goal is to sync two directories using rsync without running the rsync daemon on one of the two

Re: weird interaction between --delete-delay and --partial-dir when transfer is interrupted

2008-12-22 Thread Wayne Davison
On Mon, Dec 22, 2008 at 09:46:40AM +0100, Michal Soltys wrote: but ... the dir is not there anymore, thus ENOENT (due to opendir failing) and rsync's exit code 23. Yeah, rsync always generates an error if the opendir() call fails in send_directory(). The attached patch makes it treat a

DO NOT REPLY [Bug 5974] configure --help does not document xattr support properly

2008-12-22 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5974 way...@samba.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: batch mode hangs if dest is uptodate

2008-12-22 Thread Wayne Davison
On Sun, Dec 21, 2008 at 07:58:55PM -0800, Bill Wendin wrote: My comment: 2nd run hangs if all files are up-to-date. You should either switch to the latest pre-release of 3.0.5 (which has batch-mode fixes) or use --no-i-r. ..wayne.. -- Please use reply-all for most replies to avoid omitting the

Re: rsync --link-dest option with the destination directory containing old files.

2008-12-22 Thread Wayne Davison
On Tue, Dec 23, 2008 at 10:22:42AM +1100, Robert Bell wrote: we would like rsync to use a hard-link from ../backup.1 in preference to a new copy from source/ to backup.0/ . That's not something that I plan to implement. I'd suggest changing your naming to always use a new directory, which will

Re: Question on using single quote in an include from file

2008-12-22 Thread Wayne Davison
On Thu, Dec 04, 2008 at 05:58:05PM -0600, Larry Hayes wrote: I have tried several other combinations of '\'' and single and double quoting the entire path or just the filename, with no luck. There's no such thing as quoting in an include/exclude file. Anything after an initial -/+ and a space

Re: rsync --link-dest option with the destination directory containing old files.

2008-12-22 Thread Robert Bell
Wayne, Thanks for the prompt response. The issue is around performance. We have a backup area containing 4.5M inodes in each backup, of which around 0.5M to 1M are directories. Backing up to a new directory each time is far slower than backing up to an almost completely filled directory.

Re: logging mechanism in rsync

2008-12-22 Thread Jignesh Shah
Matt, Thanks for the info. Basically I want to display all the files which has not transfer because the file has not changed. Can I use --info=skip for this? Thanks, Jignesh On Tue, Dec 16, 2008 at 8:18 PM, Matt McCutchen m...@mattmccutchen.netwrote: On Tue, 2008-12-16 at 16:56 +0530,