<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-13158</id>
	<title>Nabble - Samba - rsync</title>
	<updated>2009-12-18T07:12:35Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Samba---rsync-f13158.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Samba---rsync-f13158.html" />
	<subtitle type="html">rsync user list</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26844823</id>
	<title>Re: Rsync shortcutting output?</title>
	<published>2009-12-18T07:12:35Z</published>
	<updated>2009-12-18T07:12:35Z</updated>
	<author>
		<name>Joel Peabody</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; On Thu 17 Dec 2009, Joel Peabody wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The meaning of my question is twofold. &amp;nbsp;First, if this is a known issue
&lt;br&gt;&amp;gt;&amp;gt; and what I'm seeing is, in fact, what's intended to happen on systems of
&lt;br&gt;&amp;gt;&amp;gt; this size. &amp;nbsp;Second, is there any feature, flag, or setting that is
&lt;br&gt;&amp;gt;&amp;gt; either
&lt;br&gt;&amp;gt;&amp;gt; being overlooked in my rsync command or is otherwise undocumented. &amp;nbsp;Is
&lt;br&gt;&amp;gt;&amp;gt; there some sort of switch that can be flicked either in the rsync setup
&lt;br&gt;&amp;gt;&amp;gt; or
&lt;br&gt;&amp;gt;&amp;gt; my unitilization of it to force it to put out full filenames that is not
&lt;br&gt;&amp;gt;&amp;gt; covered in the manpage, or is there and I'm not seeing it?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; All I can say is that:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; --progress is not suitable for logging to a file (or reporting to a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mailinglist)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; you use -i (itemize changes) but I see no related output in your
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; message
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So something in the way you log the output isn't quite right.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;&amp;gt; To unsubscribe or change options:
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;&amp;gt; Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;That's what I thought. &amp;nbsp;I already have 'i' in my flags (-rpti) so I'm kind
&lt;br&gt;of at a dead end. &amp;nbsp;I found one other post on the web where someone was
&lt;br&gt;having a similar problem. &amp;nbsp;He had 28 million files in his system, and
&lt;br&gt;upgrading to 3.0 solved it. &amp;nbsp;I guess that's going to be my ammunition in
&lt;br&gt;the battle for getting these systems upgraded. &amp;nbsp;Till then I guess it's
&lt;br&gt;going to be some kind of post-transfer job with the ls command.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;JP
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Rsync-shortcutting-output--tp26829328p26844823.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26842741</id>
	<title>Re: Rsync shortcutting output?</title>
	<published>2009-12-18T04:33:57Z</published>
	<updated>2009-12-18T04:33:57Z</updated>
	<author>
		<name>Paul Slootman-5</name>
	</author>
	<content type="html">On Thu 17 Dec 2009, Joel Peabody wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The meaning of my question is twofold. &amp;nbsp;First, if this is a known issue
&lt;br&gt;&amp;gt; and what I'm seeing is, in fact, what's intended to happen on systems of
&lt;br&gt;&amp;gt; this size. &amp;nbsp;Second, is there any feature, flag, or setting that is either
&lt;br&gt;&amp;gt; being overlooked in my rsync command or is otherwise undocumented. &amp;nbsp;Is
&lt;br&gt;&amp;gt; there some sort of switch that can be flicked either in the rsync setup or
&lt;br&gt;&amp;gt; my unitilization of it to force it to put out full filenames that is not
&lt;br&gt;&amp;gt; covered in the manpage, or is there and I'm not seeing it?
&lt;br&gt;&lt;br&gt;All I can say is that:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; --progress is not suitable for logging to a file (or reporting to a
&lt;br&gt;&amp;nbsp; &amp;nbsp; mailinglist)
&lt;br&gt;&amp;nbsp; &amp;nbsp; you use -i (itemize changes) but I see no related output in your
&lt;br&gt;&amp;nbsp; &amp;nbsp; message
&lt;br&gt;&lt;br&gt;So something in the way you log the output isn't quite right.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Rsync-shortcutting-output--tp26829328p26842741.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26842692</id>
	<title>Re: --timeout not honoured</title>
	<published>2009-12-18T04:29:16Z</published>
	<updated>2009-12-18T04:29:16Z</updated>
	<author>
		<name>Fabian Cenedese</name>
	</author>
	<content type="html">At 14:19 16.12.2009 -0800, Wayne Davison wrote:
&lt;br&gt;&amp;gt;On Tue, Dec 15, 2009 at 11:41 PM, Fabian Cenedese &amp;lt;&amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26842692&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Cenedese@...&lt;/a&gt;&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26842692&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Cenedese@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;I think I know now where my confusion comes from. The reported time is not
&lt;br&gt;&amp;gt;the actual time without action but the time since the start of the rsync command.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;It shouldn't be, since it is reporting the time elapsed since the last input was received. Â &amp;nbsp;I'd suggest running an strace on the rsync and seeing what it is doing. Â I'd imagine that some system call does not return for an extended amount of time, and then, when rsync finally gets control back and checks for the elapsed time since the last received input, it is a really long amount.
&lt;br&gt;&lt;br&gt;I now have a trace with a timeout case (almost 300MB). What do I need to look
&lt;br&gt;for? I don't see immediately what part lead to the timeout. A short snippet:
&lt;br&gt;&lt;br&gt;13:18:51 ioctl(1, TIOCGPGRP, [17723]) &amp;nbsp; = 0
&lt;br&gt;13:18:51 write(1, &amp;quot; &amp;nbsp; 955908096 &amp;nbsp;45% &amp;nbsp; 44.22kB/s &amp;nbsp; &amp;quot;..., 41) = 41
&lt;br&gt;13:18:51 select(5, NULL, [4], [4], {60, 0}) = 1 (out [4], left {60, 0})
&lt;br&gt;13:18:51 write(4, &amp;quot;\374\17\0\7&amp;quot;, 4) &amp;nbsp; &amp;nbsp; = 4
&lt;br&gt;...
&lt;br&gt;13:18:52 select(5, NULL, [4], [4], {60, 0}) = 1 (out [4], left {60, 0})
&lt;br&gt;13:18:52 write(4, &amp;quot;qo\223\16\352\240\31z`\374;\350\203\374\2551\252\354\335&amp;quot;..., 4092) = 4092
&lt;br&gt;13:18:52 time(NULL) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 1261138732
&lt;br&gt;13:18:52 select(5, NULL, [4], [4], {60, 0}) = 1 (out [4], left {60, 0})
&lt;br&gt;13:18:52 write(4, &amp;quot;\374\17\0\7&amp;quot;, 4) &amp;nbsp; &amp;nbsp; = 4
&lt;br&gt;13:18:52 time(NULL) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 1261138732
&lt;br&gt;13:18:52 select(5, NULL, [4], [4], {60, 0}) = 1 (out [4], left {60, 0})
&lt;br&gt;13:18:52 write(4, &amp;quot;\367\344\356\325UUM3\273*&amp;lt;17\7\256D\255\225x0\345^{\203&amp;quot;..., 4092) = 4092
&lt;br&gt;13:18:52 time(NULL) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 1261138732
&lt;br&gt;13:18:52 select(5, NULL, [4], [4], {60, 0}) = 0 (Timeout)
&lt;br&gt;13:19:52 time(NULL) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 1261138792
&lt;br&gt;13:19:52 write(2, &amp;quot;io timeout after 9720 seconds --&amp;quot;..., 40) = 40
&lt;br&gt;13:19:52 write(2, &amp;quot;\n&amp;quot;, 1) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 1
&lt;br&gt;13:19:52 rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0
&lt;br&gt;13:19:52 rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0
&lt;br&gt;&lt;br&gt;Should I trace with different flags?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;bye &amp;nbsp;Fabi
&lt;br&gt;&lt;br&gt;PS: I'll be away for two weeks so I can only give more info in the new year.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--timeout-not-honoured-tp26792092p26842692.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26833422</id>
	<title>Re: Rsync shortcutting output?</title>
	<published>2009-12-17T11:14:55Z</published>
	<updated>2009-12-17T11:14:55Z</updated>
	<author>
		<name>Joel Peabody</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; On Thu 17 Dec 2009, Joel Peabody wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; PS, this is between two Redhat machines using rsync 2.6.8 on both ends.
&lt;br&gt;&amp;gt;&amp;gt; Upgrading rsync is not an option in this case.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What I always wonder when reading such messages, is what type of
&lt;br&gt;&amp;gt; response is expected, if a problem with the tool is suspected but
&lt;br&gt;&amp;gt; upgrading &amp;quot;is not an option&amp;quot;? (Why not?) &amp;nbsp;That we travel back in time
&lt;br&gt;&amp;gt; to fix the tool before the person in question installs it? :-)
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Yes, if you could get on that immediately, I bet there would be multiple
&lt;br&gt;applications for such technology. ;)
&lt;br&gt;&lt;br&gt;The reason I included that tidbit is because a) I knew it would be asked
&lt;br&gt;and b) I knew that upgrading is far and away the most common piece of
&lt;br&gt;advice given on lists like these. &amp;nbsp;The 'why' is a combination of
&lt;br&gt;bureaucracy and technology, and something that I, as a temp worker, cannot
&lt;br&gt;overcome at this time.
&lt;br&gt;&lt;br&gt;The meaning of my question is twofold. &amp;nbsp;First, if this is a known issue
&lt;br&gt;and what I'm seeing is, in fact, what's intended to happen on systems of
&lt;br&gt;this size. &amp;nbsp;Second, is there any feature, flag, or setting that is either
&lt;br&gt;being overlooked in my rsync command or is otherwise undocumented. &amp;nbsp;Is
&lt;br&gt;there some sort of switch that can be flicked either in the rsync setup or
&lt;br&gt;my unitilization of it to force it to put out full filenames that is not
&lt;br&gt;covered in the manpage, or is there and I'm not seeing it?
&lt;br&gt;&lt;br&gt;If the answer to these questions are 'yes' for 1 and 'no' for 2, fine, I
&lt;br&gt;can continue to look at workaround options. &amp;nbsp;But if there is a working
&lt;br&gt;solution to this quandary I'm eager to read it.
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Rsync-shortcutting-output--tp26829328p26833422.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26829754</id>
	<title>Re: Rsync shortcutting output?</title>
	<published>2009-12-17T07:19:17Z</published>
	<updated>2009-12-17T07:19:17Z</updated>
	<author>
		<name>Paul Slootman-5</name>
	</author>
	<content type="html">On Thu 17 Dec 2009, Joel Peabody wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; PS, this is between two Redhat machines using rsync 2.6.8 on both ends.
&lt;br&gt;&amp;gt; Upgrading rsync is not an option in this case.
&lt;br&gt;&lt;br&gt;What I always wonder when reading such messages, is what type of
&lt;br&gt;response is expected, if a problem with the tool is suspected but
&lt;br&gt;upgrading &amp;quot;is not an option&amp;quot;? (Why not?) &amp;nbsp;That we travel back in time
&lt;br&gt;to fix the tool before the person in question installs it? :-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Rsync-shortcutting-output--tp26829328p26829754.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26829328</id>
	<title>Re: Rsync shortcutting output?</title>
	<published>2009-12-17T06:49:01Z</published>
	<updated>2009-12-17T06:49:01Z</updated>
	<author>
		<name>Joel Peabody</name>
	</author>
	<content type="html">From what Ive read, there are no hard limits on what rsync will accept as
&lt;br&gt;far as amount of data to transfer, number of files, or the size of any one
&lt;br&gt;file. &amp;nbsp;However, in looking at the output of one particular job it looks
&lt;br&gt;like its just putting out directories when it gets to a new one, and not
&lt;br&gt;the filename of everything its transferring. &amp;nbsp;And in some cases where
&lt;br&gt;I've tracked the files down by file size, it will skip the directory name
&lt;br&gt;when it moves on. &amp;nbsp;For instance (snipped from
&lt;br&gt;top of output):
&lt;br&gt;print/relationship/brochures/2010/Brochure/layouts/final 4096
&lt;br&gt;print/relationship/brochures/2010-q2/Brochure/layouts/final/translations/DE
&lt;br&gt;4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; 0% &amp;nbsp; &amp;nbsp;0.00kB/s &amp;nbsp; &amp;nbsp;0:00:00
&lt;br&gt;&amp;nbsp; &amp;nbsp; 28093832 &amp;nbsp;55% &amp;nbsp; 26.77MB/s &amp;nbsp; &amp;nbsp;0:00:00
&lt;br&gt;&amp;nbsp; &amp;nbsp; 42970704 &amp;nbsp;84% &amp;nbsp; 20.41MB/s &amp;nbsp; &amp;nbsp;0:00:00
&lt;br&gt;&amp;nbsp; &amp;nbsp; 49764768 &amp;nbsp;98% &amp;nbsp; 15.70MB/s &amp;nbsp; &amp;nbsp;0:00:00
&lt;br&gt;&amp;nbsp; &amp;nbsp; 50647040 100% &amp;nbsp; 15.48MB/s &amp;nbsp; &amp;nbsp;0:00:03 (xfer#1, to-check=69938/80475)
&lt;br&gt;print/relationship/brochures/2010/Brochure/layouts/final/Translations/EN-GB
&lt;br&gt;4096
&lt;br&gt;print/relationship/brochures/2010/Brochure/layouts/final/Translations/ES
&lt;br&gt;4096
&lt;br&gt;print/relationship/brochures/2010/Brochure/layouts/final/Translations/IT
&lt;br&gt;4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; 0% &amp;nbsp; &amp;nbsp;0.00kB/s &amp;nbsp; &amp;nbsp;0:00:00
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2714504 &amp;nbsp; 5% &amp;nbsp; &amp;nbsp;2.56MB/s &amp;nbsp; &amp;nbsp;0:00:17
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;4593352 &amp;nbsp; 9% &amp;nbsp; &amp;nbsp;2.17MB/s &amp;nbsp; &amp;nbsp;0:00:19
&lt;br&gt;&amp;nbsp; &amp;nbsp; 19630992 &amp;nbsp;41% &amp;nbsp; &amp;nbsp;6.19MB/s &amp;nbsp; &amp;nbsp;0:00:04
&lt;br&gt;&amp;nbsp; &amp;nbsp; 33308520 &amp;nbsp;69% &amp;nbsp; &amp;nbsp;7.85MB/s &amp;nbsp; &amp;nbsp;0:00:01
&lt;br&gt;&amp;nbsp; &amp;nbsp; 42350280 &amp;nbsp;88% &amp;nbsp; &amp;nbsp;9.32MB/s &amp;nbsp; &amp;nbsp;0:00:00
&lt;br&gt;&amp;nbsp; &amp;nbsp; 44311136 &amp;nbsp;92% &amp;nbsp; &amp;nbsp;9.35MB/s &amp;nbsp; &amp;nbsp;0:00:00
&lt;br&gt;&amp;nbsp; &amp;nbsp; 47788032 100% &amp;nbsp; &amp;nbsp;7.06MB/s &amp;nbsp; &amp;nbsp;0:00:06 (xfer#2, to-check=69899/80475)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; 0% &amp;nbsp; &amp;nbsp;0.00kB/s &amp;nbsp; &amp;nbsp;0:00:00
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 565947 &amp;nbsp;51% &amp;nbsp;529.39kB/s &amp;nbsp; &amp;nbsp;0:00:01
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1109277 100% &amp;nbsp;803.62kB/s &amp;nbsp; &amp;nbsp;0:00:01 (xfer#3, to-check=69898/80475)
&lt;br&gt;
&lt;br&gt;Id really like to know the name of each file that is being transferred.
&lt;br&gt;However, this job covers apparently &amp;gt;80K files comprising 800GB worth of
&lt;br&gt;data, so I suspect its skipping the explicit filename line that I see in
&lt;br&gt;smaller jobs. &amp;nbsp;This job runs daily, and there are usually fewer than 1000
&lt;br&gt;files actually transferred in any one run.
&lt;br&gt;&lt;br&gt;The command I use is:
&lt;br&gt;&lt;br&gt;/usr/bin/rsync -rpti --progress --stats --timeout=20 --exclude='.*'
&lt;br&gt;--delete-after --log-format=&amp;quot;%f %l&amp;quot; source.server.com:/raid/studio/
&lt;br&gt;/raid/studio-bak/ &amp;gt; /var/www/html/rsmod/logs/FileList.txt
&lt;br&gt;&lt;br&gt;Ive tried adding v and vv to the flags, with no help.
&lt;br&gt;&lt;br&gt;PS, this is between two Redhat machines using rsync 2.6.8 on both ends.
&lt;br&gt;Upgrading rsync is not an option in this case.
&lt;br&gt;&lt;br&gt;Any advice would be appreciated.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Rsync-shortcutting-output--tp26829328p26829328.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26825012</id>
	<title>DO NOT REPLY [Bug 6996] New: syncing backups - autodetect older variants already existing on receiver</title>
	<published>2009-12-17T00:56:53Z</published>
	<updated>2009-12-17T00:56:53Z</updated>
	<author>
		<name>Bugzilla from samba-bugs@samba.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://bugzilla.samba.org/show_bug.cgi?id=6996&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=6996&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: syncing backups - autodetect older variants already
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; existing on receiver
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Product: rsync
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version: 3.1.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Platform: Other
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OS/Version: Linux
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: NEW
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Severity: enhancement
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: P3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Component: core
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AssignedTo: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26825012&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wayned@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ReportedBy: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26825012&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bugzilla.samba.org@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;QAContact: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26825012&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rsync-qa@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;We use virtualization, each server makes it's backup to a central backup
&lt;br&gt;server. That backup server rsyncs every day the diffs to another site.
&lt;br&gt;&lt;br&gt;Many of the servers make a &amp;quot;backup.tar.bz2&amp;quot;, and keep the older version as
&lt;br&gt;&amp;quot;backup.tar.bz2.old&amp;quot; or &amp;quot;backup_old.tar.bz2&amp;quot;. These files tend to be large, so
&lt;br&gt;it would be nice not to sync them, just rename them on the receiver site.
&lt;br&gt;&lt;br&gt;rsync currently transfers the &amp;quot;*old*&amp;quot; version despite it exists already on the
&lt;br&gt;receiver, it's just still named &amp;quot;backup.tar.bz2&amp;quot; and would need to be renamed
&lt;br&gt;to &amp;quot;backup_old.tar.bz2&amp;quot; (or backup.tar.bz2.old depending on how it is named
&lt;br&gt;now).
&lt;br&gt;&lt;br&gt;It would be very interesting to have a feature to search
&lt;br&gt;- within the same dir for files with &amp;quot;similar&amp;quot; names and autodetect if they are
&lt;br&gt;the same
&lt;br&gt;- within the same dir for subdirs which have the same content and have just
&lt;br&gt;been renamed. This is for backups that do &amp;quot;backup/0&amp;quot;, &amp;quot;backup/1&amp;quot;, and so on,
&lt;br&gt;just renaming the dirs each day.
&lt;br&gt;&lt;br&gt;That should result in just a rename on the receiver side. It could reduce the
&lt;br&gt;backup traffic a lot. Maybe name that options &amp;quot;--search-similar&amp;quot;
&lt;br&gt;&lt;br&gt;I think nearly everybody uses &amp;quot;generations&amp;quot; of backups, just renaming them on
&lt;br&gt;the original server. So this would free the Internet of unneccessary traffic
&lt;br&gt;during the night.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://bugzilla.samba.org/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the QA contact for the bug, or are watching the QA contact.
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-6996--New%3A-syncing-backups---autodetect-older-variants-already-existing-on-receiver-tp26825012p26825012.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26824672</id>
	<title>DO NOT REPLY [Bug 6916] Avoid bundling a modified zlib</title>
	<published>2009-12-17T00:23:31Z</published>
	<updated>2009-12-17T00:23:31Z</updated>
	<author>
		<name>Bugzilla from samba-bugs@samba.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://bugzilla.samba.org/show_bug.cgi?id=6916&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=6916&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Comment #5 from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26824672&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jzeleny@...&lt;/a&gt; &amp;nbsp;2009-12-17 02:23 CST -------
&lt;br&gt;Well, it's possible. I'm not rsync maintainer for long, so I don't have that
&lt;br&gt;much knowledge about the situation. But my point was that zlib's upstream is
&lt;br&gt;willing to consider some changes in order to reach compromise. Could you please
&lt;br&gt;contact them and try to discuss the situation, so it isn't necessary to bundle
&lt;br&gt;modified zlib? Thanks
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://bugzilla.samba.org/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the QA contact for the bug, or are watching the QA contact.
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-6916--New%3A-Avoid-bundling-a-modified-zlib-tp26454415p26824672.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26821621</id>
	<title>DO NOT REPLY [Bug 6995] New: Suggested new verbosity level</title>
	<published>2009-12-16T17:25:31Z</published>
	<updated>2009-12-16T17:25:31Z</updated>
	<author>
		<name>Bugzilla from samba-bugs@samba.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://bugzilla.samba.org/show_bug.cgi?id=6995&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=6995&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: Suggested new verbosity level
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Product: rsync
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version: 2.6.9
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Platform: All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OS/Version: Other
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: NEW
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Severity: minor
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: P3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Component: core
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AssignedTo: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26821621&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wayned@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ReportedBy: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26821621&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phoffman@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;QAContact: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26821621&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rsync-qa@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;It would be nice to have a verbosity level that prints out new files that are
&lt;br&gt;copied, but not the (in my case zillions of) directories that are looked into.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://bugzilla.samba.org/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the QA contact for the bug, or are watching the QA contact.
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-6995--New%3A-Suggested-new-verbosity-level-tp26821621p26821621.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26819641</id>
	<title>Re: Option to create ancestors of destination, like &quot;mkdir -p</title>
	<published>2009-12-16T14:30:04Z</published>
	<updated>2009-12-16T14:30:04Z</updated>
	<author>
		<name>Wayne Davison-2</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Dec 16, 2009 at 1:38 PM, Tony Abernethy &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26819641&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tony@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;The existing default has saved my bacon several times.&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;Yeah.  I don&amp;#39;t think I&amp;#39;d ever change the default, though adding an option is possible.  However, there are several ways to create paths remotely with rsync now.  For example:&lt;div&gt;
&lt;br&gt;&lt;/div&gt;&lt;div&gt;mkdir -p /var/tmp/backup.$$/please/create/this/path&lt;/div&gt;&lt;div&gt;rsync -aivR /var/tmp/backup.$$/./please/create/this/path host:/dest/&lt;/div&gt;&lt;div&gt;rm -rf /var/tmp/backup.$$&lt;/div&gt;&lt;div&gt;rsync -aiv /src/ host:/dest/please/create/this/path/&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;But, admittedly, that would be a good deal easier like this (picking an option out of thin air):&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;rsync -aiv --create-dest-dirs /src/ host:/dest/please/create/this/path/&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;Something like that does seem fairly useful to me.&lt;/div&gt;&lt;div&gt;&lt;br&gt;..wayne..&lt;br&gt;
&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Option-to-create-ancestors-of-destination%2C-like-%22mkdir---p-tp26805259p26819641.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26819616</id>
	<title>Re: --timeout not honoured</title>
	<published>2009-12-16T14:19:46Z</published>
	<updated>2009-12-16T14:19:46Z</updated>
	<author>
		<name>Wayne Davison-2</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Dec 15, 2009 at 11:41 PM, Fabian Cenedese &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26819616&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Cenedese@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;I think I know now where my confusion comes from. The reported time is not&lt;/div&gt;
the actual time without action but the time since the start of the rsync command.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;It shouldn&amp;#39;t be, since it is reporting the time elapsed since the last input was received.   I&amp;#39;d suggest running an strace on the rsync and seeing what it is doing.  I&amp;#39;d imagine that some system call does not return for an extended amount of time, and then, when rsync finally gets control back and checks for the elapsed time since the last received input, it is a really long amount.&lt;/div&gt;
&lt;/div&gt;&lt;br clear=&quot;all&quot;&gt;..wayne..
&lt;br /&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--timeout-not-honoured-tp26792092p26819616.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26818938</id>
	<title>RE: Option to create ancestors of destination, like &quot;mkdir  -p</title>
	<published>2009-12-16T13:38:27Z</published>
	<updated>2009-12-16T13:38:27Z</updated>
	<author>
		<name>Tony Abernethy</name>
	</author>
	<content type="html">henri wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; I agree with everyone else that it would be incredibly useful for
&lt;br&gt;&amp;gt; rsync to
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; either adopt such behaviour by default (assuming always doing
&lt;br&gt;&amp;gt; 'mkdir -p' isn't
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; harmful in any way), or have a tunable to enable it.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I also agree the suggested behavior makes a lot of sense and I think
&lt;br&gt;&amp;gt; it is a good idea.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; However, some deployments may rely upon the current behavior. &amp;nbsp;As an
&lt;br&gt;&amp;gt; example, a setup may rely on rsync failing if a file system is not
&lt;br&gt;&amp;gt; mounted. &amp;nbsp;In such a situation, it is worth contemplating whether you
&lt;br&gt;&amp;gt; would you want rsync to generate the mount point and any
&lt;br&gt;&amp;gt; subdirectories, specified for this rsync.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I personally think that such checks should be external from rsync.
&lt;br&gt;&amp;gt; However, changing the current default behavior has the potential to
&lt;br&gt;&amp;gt; create problems on setups which may rely on the current default
&lt;br&gt;&amp;gt; behavior.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I recommend the consideration of potential problems which could
&lt;br&gt;&amp;gt; occur if the deployed setups are dependent on the current rsync
&lt;br&gt;&amp;gt; behavior and that default behavior changes. Then based upon the
&lt;br&gt;&amp;gt; severity of these potential problems move ahead or delay the change to
&lt;br&gt;&amp;gt; a major revision change?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; #!/bin/sh
&lt;br&gt;&amp;gt; &amp;gt; #backup friday
&lt;br&gt;&amp;gt; &amp;gt; #&amp;quot;Spinning up backup drive and mounting it ..&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; cd /
&lt;br&gt;&amp;gt; &amp;gt; mount /mnt/hd2
&lt;br&gt;&amp;gt; &amp;gt; #&amp;quot;Starting backup procedures&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; rsync -avx --exclude=&amp;quot;/home/gary/.thumbnails/&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; --exclude=&amp;quot;/home/gary/tmp/&amp;quot; --delete --ignore-errors /home/gary
&lt;br&gt;&amp;gt; &amp;gt; /mnt/hd2/2010
&lt;br&gt;&amp;gt; &amp;gt; umount /mnt/hd2
&lt;br&gt;&amp;gt; &amp;gt; #END
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The quoted script above is from another thread which was just posted to
&lt;br&gt;&amp;gt; the rsync mailing list : &amp;lt;&lt;a href=&quot;http://www.mail-&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26818938&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;archive.com/rsync@...&lt;/a&gt;/msg25132.html&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This script above is a good example of the potential problems with
&lt;br&gt;&amp;gt; making 'mkdir -p' the default. I agree that this feature is the way to
&lt;br&gt;&amp;gt; move forward. However, changing the default behavior may cause
&lt;br&gt;&amp;gt; potential issues for various scripts.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have no idea how many scripts are there like this, which could
&lt;br&gt;&amp;gt; potentially start start backing up to the wrong file system if the
&lt;br&gt;&amp;gt; drive is not successfully mounted.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I suggest considering these potential issues and suggest that leaving
&lt;br&gt;&amp;gt; such a change to the next major release is seriously considered.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; my 4ç
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp;This email is protected by LBackup, an open source backup solution.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; Free as in freedom; LBackup is licensed under the GNU GPL
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Download LBackup now : &lt;a href=&quot;http://www.lbackup.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lbackup.org&lt;/a&gt;&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;/div&gt;Allow me to chime in with my own not-so-expert experience.
&lt;br&gt;With large masses of data to keep updated, with bad internet connection
&lt;br&gt;at time between locations, with the masses of data sometimes being moved
&lt;br&gt;around, I experience the following:
&lt;br&gt;If I mistype something in the path to the destination, the rsync errors
&lt;br&gt;out and does so very quickly. Making new subdirectories to conform to my
&lt;br&gt;mistyping looks friendlier ... at least until I suffer the consequences.
&lt;br&gt;The existing default has saved my bacon several times.
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Option-to-create-ancestors-of-destination%2C-like-%22mkdir---p-tp26805259p26818938.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26818734</id>
	<title>Re: Option to create ancestors of destination, like &quot;mkdir  -p</title>
	<published>2009-12-16T13:25:43Z</published>
	<updated>2009-12-16T13:25:43Z</updated>
	<author>
		<name>Henri S</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt;&amp;gt; &amp;gt; I agree with everyone else that it would be incredibly useful for rsync to
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; either adopt such behaviour by default (assuming always doing 'mkdir -p' isn't
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; harmful in any way), or have a tunable to enable it.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I also agree the suggested behavior makes a lot of sense and I think it is a good idea.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; However, some deployments may rely upon the current behavior. &amp;nbsp;As an example, a setup may rely on rsync failing if a file system is not mounted. &amp;nbsp;In such a situation, it is worth contemplating whether you would you want rsync to generate the mount point and any subdirectories, specified for this rsync.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I personally think that such checks should be external from rsync. However, changing the current default behavior has the potential to create problems on setups which may rely on the current default behavior.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I recommend the consideration of potential problems which could occur if the deployed setups are dependent on the current rsync behavior and that default behavior changes. Then based upon the severity of these potential problems move ahead or delay the change to a major revision change?
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; #!/bin/sh
&lt;br&gt;&amp;gt; #backup friday
&lt;br&gt;&amp;gt; #&amp;quot;Spinning up backup drive and mounting it ..&amp;quot;
&lt;br&gt;&amp;gt; cd /
&lt;br&gt;&amp;gt; mount /mnt/hd2
&lt;br&gt;&amp;gt; #&amp;quot;Starting backup procedures&amp;quot;
&lt;br&gt;&amp;gt; rsync -avx --exclude=&amp;quot;/home/gary/.thumbnails/&amp;quot;
&lt;br&gt;&amp;gt; --exclude=&amp;quot;/home/gary/tmp/&amp;quot; --delete --ignore-errors /home/gary
&lt;br&gt;&amp;gt; /mnt/hd2/2010
&lt;br&gt;&amp;gt; umount /mnt/hd2
&lt;br&gt;&amp;gt; #END
&lt;/div&gt;&lt;br&gt;The quoted script above is from another thread which was just posted to the rsync mailing list : &amp;lt;&lt;a href=&quot;http://www.mail-archive.com/rsync@lists.samba.org/msg25132.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/rsync@.../msg25132.html&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;This script above is a good example of the potential problems with making 'mkdir -p' the default. I agree that this feature is the way to move forward. However, changing the default behavior may cause potential issues for various scripts. 
&lt;br&gt;&lt;br&gt;I have no idea how many scripts are there like this, which could potentially start start backing up to the wrong file system if the drive is not successfully mounted. 
&lt;br&gt;&lt;br&gt;I suggest considering these potential issues and suggest that leaving such a change to the next major release is seriously considered. 
&lt;br&gt;&lt;br&gt;my 4ç
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;&amp;nbsp;This email is protected by LBackup, an open source backup solution. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Free as in freedom; LBackup is licensed under the GNU GPL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Download LBackup now : &lt;a href=&quot;http://www.lbackup.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lbackup.org&lt;/a&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Option-to-create-ancestors-of-destination%2C-like-%22mkdir---p-tp26805259p26818734.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26818500</id>
	<title>Re: rsync exclude</title>
	<published>2009-12-16T13:08:50Z</published>
	<updated>2009-12-16T13:08:50Z</updated>
	<author>
		<name>Gary Montalbine</name>
	</author>
	<content type="html">That worked. Thank you Tony.
&lt;br&gt;&lt;br&gt;Gary
&lt;br&gt;&lt;br&gt;Tony wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; try:
&lt;br&gt;&amp;gt; --exclude=.thumbnails/***
&lt;br&gt;&amp;gt; --exclude=tmp/***
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Dec 16, 2009, at 1:40 PM, Gary Montalbine wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Tony Abernethy wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Gary Montalbine wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I am trying to backup my /home directory. A friend helped me with this
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; script:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #!/bin/sh
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #backup friday
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #&amp;quot;Spinning up backup drive and mounting it ..&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; cd /
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; mount /mnt/hd2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #&amp;quot;Starting backup procedures&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; rsync -avx --exclude=&amp;quot;/home/gary/.thumbnails/&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --exclude=&amp;quot;/home/gary/tmp/&amp;quot; --delete --ignore-errors /home/gary
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; /mnt/hd2/2010
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; umount /mnt/hd2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #END
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; It backs up /home OK. However it does not exclude .thumbnails or tmp. I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; have read the manual and am confused on the use of --exclude. I am
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; strictly a user. I am using rsync supplied by ML2010.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Help would be greatly appreciated.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Gary
&lt;/div&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rsync-exclude-tp26813436p26818500.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26817906</id>
	<title>Re: rsync exclude</title>
	<published>2009-12-16T12:26:46Z</published>
	<updated>2009-12-16T12:26:46Z</updated>
	<author>
		<name>Tony-192</name>
	</author>
	<content type="html">&lt;br&gt;try:
&lt;br&gt;--exclude=.thumbnails/***
&lt;br&gt;--exclude=tmp/***
&lt;br&gt;&lt;br&gt;On Dec 16, 2009, at 1:40 PM, Gary Montalbine wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Tony Abernethy wrote:
&lt;br&gt;&amp;gt;&amp;gt; Gary Montalbine wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I am trying to backup my /home directory. A friend helped me with this
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; script:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; #!/bin/sh
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; #backup friday
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; #&amp;quot;Spinning up backup drive and mounting it ..&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; cd /
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; mount /mnt/hd2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; #&amp;quot;Starting backup procedures&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; rsync -avx --exclude=&amp;quot;/home/gary/.thumbnails/&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --exclude=&amp;quot;/home/gary/tmp/&amp;quot; --delete --ignore-errors /home/gary
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; /mnt/hd2/2010
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; umount /mnt/hd2
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; #END
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; It backs up /home OK. However it does not exclude .thumbnails or tmp. I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; have read the manual and am confused on the use of --exclude. I am
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; strictly a user. I am using rsync supplied by ML2010.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Help would be greatly appreciated.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Gary
&lt;br&gt;&amp;gt;&amp;gt; from man page
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--exclude=PATTERN &amp;nbsp; &amp;nbsp; &amp;nbsp; exclude files matching PATTERN
&lt;br&gt;&amp;gt;&amp;gt; Seems like you are excluding /home/gary/home/gary/.thumbnails/
&lt;br&gt;&amp;gt;&amp;gt; /home/gary/home/gary/tmp/
&lt;br&gt;&amp;gt;&amp;gt; you probably want something like
&lt;br&gt;&amp;gt;&amp;gt; --exclude=/.thumbnails
&lt;br&gt;&amp;gt;&amp;gt; --exclude=/.tmp
&lt;br&gt;&amp;gt;&amp;gt; to match where /home/gary/ leaves off.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I tried various combinations of what you said. However I could not get it to exclude either file.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; With my low level of expertise I need a precise script.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks, Gary
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;&amp;gt; To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;&amp;gt; Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rsync-exclude-tp26813436p26817906.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26816226</id>
	<title>Re: rsync exclude</title>
	<published>2009-12-16T10:40:11Z</published>
	<updated>2009-12-16T10:40:11Z</updated>
	<author>
		<name>Gary Montalbine</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;Tony Abernethy wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Gary Montalbine wrote:
&lt;br&gt;&amp;gt;&amp;gt; I am trying to backup my /home directory. A friend helped me with this
&lt;br&gt;&amp;gt;&amp;gt; script:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; #!/bin/sh
&lt;br&gt;&amp;gt;&amp;gt; #backup friday
&lt;br&gt;&amp;gt;&amp;gt; #&amp;quot;Spinning up backup drive and mounting it ..&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; cd /
&lt;br&gt;&amp;gt;&amp;gt; mount /mnt/hd2
&lt;br&gt;&amp;gt;&amp;gt; #&amp;quot;Starting backup procedures&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; rsync -avx --exclude=&amp;quot;/home/gary/.thumbnails/&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; --exclude=&amp;quot;/home/gary/tmp/&amp;quot; --delete --ignore-errors /home/gary
&lt;br&gt;&amp;gt;&amp;gt; /mnt/hd2/2010
&lt;br&gt;&amp;gt;&amp;gt; umount /mnt/hd2
&lt;br&gt;&amp;gt;&amp;gt; #END
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It backs up /home OK. However it does not exclude .thumbnails or tmp. I
&lt;br&gt;&amp;gt;&amp;gt; have read the manual and am confused on the use of --exclude. I am
&lt;br&gt;&amp;gt;&amp;gt; strictly a user. I am using rsync supplied by ML2010.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Help would be greatly appreciated.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Gary
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; from man page
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --exclude=PATTERN &amp;nbsp; &amp;nbsp; &amp;nbsp; exclude files matching PATTERN
&lt;br&gt;&amp;gt; Seems like you are excluding 
&lt;br&gt;&amp;gt; /home/gary/home/gary/.thumbnails/
&lt;br&gt;&amp;gt; /home/gary/home/gary/tmp/
&lt;br&gt;&amp;gt; you probably want something like
&lt;br&gt;&amp;gt; --exclude=/.thumbnails
&lt;br&gt;&amp;gt; --exclude=/.tmp
&lt;br&gt;&amp;gt; to match where /home/gary/ leaves off.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;I tried various combinations of what you said. However I could not get 
&lt;br&gt;it to exclude either file.
&lt;br&gt;&lt;br&gt;With my low level of expertise I need a precise script.
&lt;br&gt;&lt;br&gt;Thanks, Gary
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rsync-exclude-tp26813436p26816226.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26814278</id>
	<title>RE: rsync exclude</title>
	<published>2009-12-16T08:41:56Z</published>
	<updated>2009-12-16T08:41:56Z</updated>
	<author>
		<name>Tony Abernethy</name>
	</author>
	<content type="html">Gary Montalbine wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am trying to backup my /home directory. A friend helped me with this
&lt;br&gt;&amp;gt; script:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; #!/bin/sh
&lt;br&gt;&amp;gt; #backup friday
&lt;br&gt;&amp;gt; #&amp;quot;Spinning up backup drive and mounting it ..&amp;quot;
&lt;br&gt;&amp;gt; cd /
&lt;br&gt;&amp;gt; mount /mnt/hd2
&lt;br&gt;&amp;gt; #&amp;quot;Starting backup procedures&amp;quot;
&lt;br&gt;&amp;gt; rsync -avx --exclude=&amp;quot;/home/gary/.thumbnails/&amp;quot;
&lt;br&gt;&amp;gt; --exclude=&amp;quot;/home/gary/tmp/&amp;quot; --delete --ignore-errors /home/gary
&lt;br&gt;&amp;gt; /mnt/hd2/2010
&lt;br&gt;&amp;gt; umount /mnt/hd2
&lt;br&gt;&amp;gt; #END
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It backs up /home OK. However it does not exclude .thumbnails or tmp. I
&lt;br&gt;&amp;gt; have read the manual and am confused on the use of --exclude. I am
&lt;br&gt;&amp;gt; strictly a user. I am using rsync supplied by ML2010.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Help would be greatly appreciated.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Gary
&lt;/div&gt;&lt;br&gt;from man page
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --exclude=PATTERN &amp;nbsp; &amp;nbsp; &amp;nbsp; exclude files matching PATTERN
&lt;br&gt;Seems like you are excluding 
&lt;br&gt;/home/gary/home/gary/.thumbnails/
&lt;br&gt;/home/gary/home/gary/tmp/
&lt;br&gt;you probably want something like
&lt;br&gt;--exclude=/.thumbnails
&lt;br&gt;--exclude=/.tmp
&lt;br&gt;to match where /home/gary/ leaves off.
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rsync-exclude-tp26813436p26814278.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26813436</id>
	<title>rsync exclude</title>
	<published>2009-12-16T07:47:27Z</published>
	<updated>2009-12-16T07:47:27Z</updated>
	<author>
		<name>Gary Montalbine</name>
	</author>
	<content type="html">I am trying to backup my /home directory. A friend helped me with this 
&lt;br&gt;script:
&lt;br&gt;&lt;br&gt;#!/bin/sh
&lt;br&gt;#backup friday
&lt;br&gt;#&amp;quot;Spinning up backup drive and mounting it ..&amp;quot;
&lt;br&gt;cd /
&lt;br&gt;mount /mnt/hd2
&lt;br&gt;#&amp;quot;Starting backup procedures&amp;quot;
&lt;br&gt;rsync -avx --exclude=&amp;quot;/home/gary/.thumbnails/&amp;quot; 
&lt;br&gt;--exclude=&amp;quot;/home/gary/tmp/&amp;quot; --delete --ignore-errors /home/gary 
&lt;br&gt;/mnt/hd2/2010
&lt;br&gt;umount /mnt/hd2
&lt;br&gt;#END
&lt;br&gt;&lt;br&gt;It backs up /home OK. However it does not exclude .thumbnails or tmp. I 
&lt;br&gt;have read the manual and am confused on the use of --exclude. I am 
&lt;br&gt;strictly a user. I am using rsync supplied by ML2010.
&lt;br&gt;&lt;br&gt;Help would be greatly appreciated.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Gary
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rsync-exclude-tp26813436p26813436.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26812018</id>
	<title>rsync hang on large file in a set</title>
	<published>2009-12-16T06:34:22Z</published>
	<updated>2009-12-16T06:34:22Z</updated>
	<author>
		<name>Eliot Moss</name>
	</author>
	<content type="html">This is to both the rsync and cygwin lists, and I
&lt;br&gt;regret that it is vaguer than I would like, but ...
&lt;br&gt;&lt;br&gt;With cygwin 1.7 (latest beta) and the rsync released
&lt;br&gt;with it (3.0.6-1) I try to sync a couple of Gb of
&lt;br&gt;Thunderbird mail files. The flag settings were
&lt;br&gt;-avzuP plus a --chmod and some includes/excludes
&lt;br&gt;to control which files to move.
&lt;br&gt;&lt;br&gt;I would repeatably get &amp;quot;hangs&amp;quot; on particular files,
&lt;br&gt;which are generally modified by appending (mail
&lt;br&gt;added at the end). These files (two in particular)
&lt;br&gt;are approximately 100Mb or a little more in size,
&lt;br&gt;and that seemed to have something to do with it.
&lt;br&gt;&lt;br&gt;The &amp;quot;hangs&amp;quot; I speak of are where rsync and ssh spin,
&lt;br&gt;consuming cpu time (fan running fast!) but making
&lt;br&gt;no progress.
&lt;br&gt;&lt;br&gt;Now here's the odd thing. If I kill of the rsync and
&lt;br&gt;ssh processes and rsync the one file by itself, it
&lt;br&gt;will go through. (Of course the --partial implied
&lt;br&gt;by -P means that I may have to transfer a lot of
&lt;br&gt;data :-( ).
&lt;br&gt;&lt;br&gt;Curiously, I got the same behavior with a recent rsync
&lt;br&gt;head (20091129).
&lt;br&gt;&lt;br&gt;Last night I made two changes and have not seen a hang
&lt;br&gt;since (though I am monitoring this, of course). One
&lt;br&gt;was to substitute --progress and --partial-dir for
&lt;br&gt;-P.
&lt;br&gt;&lt;br&gt;The other -- which is the cygwin relevant part -- was
&lt;br&gt;the compile with socketpair turned off (manually in the
&lt;br&gt;config file). I did this because Corinna and I had found
&lt;br&gt;issues between socketpair and BLODA on my (Windows 7) box,
&lt;br&gt;which she appeared to have fixed in revisions to 1.7 The
&lt;br&gt;problems had to do with fork, dup, and such, not with
&lt;br&gt;actual data transfer AFAIK. At her request I still have
&lt;br&gt;the BLODA installed, and other cygwin things generally
&lt;br&gt;work right.
&lt;br&gt;&lt;br&gt;I will also play with putting socketpair back in and
&lt;br&gt;keeping --partial-dir. But the various reports of rsync
&lt;br&gt;hangs, and a particular report a little while ago of
&lt;br&gt;busy looping in buffer transfer (and I do have -z on,
&lt;br&gt;might that impact?) struck me as possibly related. I
&lt;br&gt;am not sure how to debug this when it happens, so if
&lt;br&gt;there are steps I can take upon such a hang to get you
&lt;br&gt;better info, do enlighten me!
&lt;br&gt;&lt;br&gt;Best wishes -- Eliot Moss
&lt;br&gt;==============================================================================
&lt;br&gt;J. Eliot B. Moss, Professor &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.cs.umass.edu/~moss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cs.umass.edu/~moss&lt;/a&gt;&amp;nbsp; &amp;nbsp; www
&lt;br&gt;Director, Arch. and Lang. Impl. Lab. &amp;nbsp; &amp;nbsp; &amp;nbsp;+1-413-545-4206 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;voice
&lt;br&gt;Department of Computer Science &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+1-413-695-4226 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cell
&lt;br&gt;140 Governor's Drive, Room 372 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+1-413-545-1249 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fax
&lt;br&gt;University of Massachusetts at Amherst &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26812018&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;moss@...&lt;/a&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;email
&lt;br&gt;Amherst, MA &amp;nbsp;01003-9264 &amp;nbsp;USA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+1-413-545-2746 Laurie Downey &amp;nbsp;sec'y
&lt;br&gt;==============================================================================
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rsync-hang-on-large-file-in-a-set-tp26812018p26812018.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26807358</id>
	<title>Re: --timeout not honoured</title>
	<published>2009-12-15T23:41:43Z</published>
	<updated>2009-12-15T23:41:43Z</updated>
	<author>
		<name>Fabian Cenedese</name>
	</author>
	<content type="html">At 10:27 15.12.2009 +0100, Fabian Cenedese wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;Hi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I already wrote about this problem half a year ago but didn't get
&lt;br&gt;&amp;gt;an answer: &lt;a href=&quot;http://lists.samba.org/archive/rsync/2009-June/023412.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/rsync/2009-June/023412.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I'm using rsync 3.0.3 on a NAS. In the parameter list I use --timeout=1800.
&lt;br&gt;&amp;gt;But still I often have rsync stall much longer than that.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;2009/12/14 23:14:35 [8707] io timeout after 11670 seconds -- exiting
&lt;br&gt;&amp;gt;2009/12/14 23:14:35 [8707] rsync error: timeout in data send/receive (code 30) at io.c(239) [sender=3.0.3pre1]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;2009/12/14 00:20:04 [19046] io timeout after 15485 seconds -- exiting
&lt;br&gt;&amp;gt;2009/12/14 00:20:04 [19046] rsync error: timeout in data send/receive (code 30) at io.c(239) [sender=3.0.3pre1]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;However, why is it that rsync waits much longer than given in --timeout?
&lt;br&gt;&amp;gt;Shouldn't timeout work that way?
&lt;/div&gt;&lt;br&gt;I think I know now where my confusion comes from. The reported time is not
&lt;br&gt;the actual time without action but the time since the start of the rsync command.
&lt;br&gt;&lt;br&gt;2009/12/15 20:00:02 [4260] building file list
&lt;br&gt;2009/12/15 20:00:03 [4260] .d..t...... vmware/FTPServer2/
&lt;br&gt;2009/12/15 20:23:45 [4260] &amp;lt;f.st...... vmware/FTPServer2/FTPServer2-s017.vmdk
&lt;br&gt;2009/12/15 22:12:25 [4260] &amp;lt;f+++++++++ vmware/FTPServer2/FTPServer2-s018.vmdk
&lt;br&gt;2009/12/15 23:10:19 [4260] io timeout after 11372 seconds -- exiting
&lt;br&gt;2009/12/15 23:10:19 [4260] rsync error: timeout in data send/receive (code 30) at io.c(239) [sender=3.0.3pre1]
&lt;br&gt;&lt;br&gt;11372 seconds is 189.something minutes, so 20:00+3h09 makes about the 23:10
&lt;br&gt;timeout time. Same seems to be true for my previous examples, all started at 20:00.
&lt;br&gt;&lt;br&gt;So --timeout does seem to be honoured, just the reported timeout time is a bit
&lt;br&gt;misleading. If this is not to be changed maybe an explaining comment in the
&lt;br&gt;docs might be a good idea.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;bye &amp;nbsp;Fabi
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--timeout-not-honoured-tp26792092p26807358.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26805259</id>
	<title>Re: Option to create ancestors of destination, like &quot;mkdir  -p</title>
	<published>2009-12-15T17:50:42Z</published>
	<updated>2009-12-15T17:50:42Z</updated>
	<author>
		<name>Henri S</name>
	</author>
	<content type="html">&amp;gt; I agree with everyone else that it would be incredibly useful for rsync to
&lt;br&gt;&amp;gt; either adopt such behaviour by default (assuming always doing 'mkdir -p' isn't
&lt;br&gt;&amp;gt; harmful in any way), or have a tunable to enable it.
&lt;br&gt;&lt;br&gt;I also agree the suggested behavior makes a lot of sense and I think it is a good idea. 
&lt;br&gt;&lt;br&gt;However, some deployments may rely upon the current behavior. &amp;nbsp;As an example, a setup may rely on rsync failing if a file system is not mounted. &amp;nbsp;In such a situation, it is worth contemplating whether you would you want rsync to generate the mount point and any subdirectories, specified for this rsync. 
&lt;br&gt;&lt;br&gt;I personally think that such checks should be external from rsync. However, changing the current default behavior has the potential to create problems on setups which may rely on the current default behavior.
&lt;br&gt;&lt;br&gt;I recommend the consideration of potential problems which could occur if the deployed setups are dependent on the current rsync behavior and that default behavior changes. Then based upon the severity of these potential problems move ahead or delay the change to a major revision change?
&lt;br&gt;&lt;br&gt;My 2ç
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Option-to-create-ancestors-of-destination%2C-like-%22mkdir---p-tp26805259p26805259.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26798474</id>
	<title>Re: retransfer fail of large files with inplace and broken pipe</title>
	<published>2009-12-15T09:25:40Z</published>
	<updated>2009-12-15T09:25:40Z</updated>
	<author>
		<name>tom raschel</name>
	</author>
	<content type="html">OK,
&lt;br&gt;&lt;br&gt;have tried now --inplace with --backup option but syncing the files does 
&lt;br&gt;consume much more time than a normal rsync process,
&lt;br&gt;so this is not a reliable solution.
&lt;br&gt;&lt;br&gt;Thx
&lt;br&gt;Tom
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;quot;Tom&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26798474&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;raschel@...&lt;/a&gt;&amp;gt; schrieb im Newsbeitrag 
&lt;br&gt;news:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26798474&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hg7dg6$emj$1@...&lt;/a&gt;...
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; retransfer of large fail with inplace after a broken pipe is working now.
&lt;br&gt;&amp;gt; (thx again to wayne)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; but it is much more slow as if a &amp;quot;normal&amp;quot; rsync job.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have read that setting the --backup option could help. (have not tried 
&lt;br&gt;&amp;gt; it
&lt;br&gt;&amp;gt; yet)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But --backup option would halve the space, which is not desirable.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there a way to tell rsync to delete the --backup file after an 
&lt;br&gt;&amp;gt; successful
&lt;br&gt;&amp;gt; sync.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thx
&lt;br&gt;&amp;gt; Tom
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;tom raschel&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26798474&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;raschel@...&lt;/a&gt;&amp;gt; schrieb im Newsbeitrag 
&lt;br&gt;&amp;gt; news:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26798474&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;loom.20091213T075221-530@...&lt;/a&gt;...
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; i have to tranfer large files each 5-100 GB (mo-fri) over dsl line.
&lt;br&gt;&amp;gt;&amp;gt; unfortunately dsl lines are often not very stable and i got a broken pipe 
&lt;br&gt;&amp;gt;&amp;gt; error.
&lt;br&gt;&amp;gt;&amp;gt; (dsl lines are getting a new ip if they are broken or at least after a
&lt;br&gt;&amp;gt;&amp;gt; reconnect every 24 hours)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; i had a script which detect the rsync error and restart the transmission.
&lt;br&gt;&amp;gt;&amp;gt; this means that if a file has transfered e.g. 80 % i start again from 
&lt;br&gt;&amp;gt;&amp;gt; beginning.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; using partial and partial-dir was no solution to resync because rsync cut 
&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; original file (e.g. from 20 GB to 15 GB) which means that i have to 
&lt;br&gt;&amp;gt;&amp;gt; transfer
&lt;br&gt;&amp;gt;&amp;gt; the whole rest of 5 GB.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; so i had a look at --inplace which I thougt could do the trick, but 
&lt;br&gt;&amp;gt;&amp;gt; inplace is
&lt;br&gt;&amp;gt;&amp;gt; updating the timestamp and if the script start a retransfer after a 
&lt;br&gt;&amp;gt;&amp;gt; broken pipe
&lt;br&gt;&amp;gt;&amp;gt; it fails because the --inplace file is newer than the original file of 
&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; sender.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; using ignore-times could be a solution but slow down the whole process to 
&lt;br&gt;&amp;gt;&amp;gt; much.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; is there a option to tell rsync not to change the time of a --inplace
&lt;br&gt;&amp;gt;&amp;gt; transfered file, or maybe preserve the mtime and do a comparison of mtime
&lt;br&gt;&amp;gt;&amp;gt; instead of ctime.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thx
&lt;br&gt;&amp;gt;&amp;gt; Tom
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe or change options: 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;&amp;gt; To unsubscribe or change options: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;&amp;gt; Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/retransfer-fail-of-large-files-with-inplace-and-broken-pipe-tp26764142p26798474.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26797540</id>
	<title>Uninstalling rsync 3.0.6</title>
	<published>2009-12-15T08:12:35Z</published>
	<updated>2009-12-15T08:12:35Z</updated>
	<author>
		<name>thomas Anderson-12</name>
	</author>
	<content type="html">&lt;p&gt;Hello, &lt;/p&gt;&lt;p&gt;&amp;nbsp;I have installed rsync from source but when i want to remove it im not able to do it can anyone help me that would be great.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Kind regards,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Andy &lt;/p&gt;&lt;br /&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Uninstalling-rsync-3.0.6-tp26797540p26797540.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26793848</id>
	<title>DO NOT REPLY [Bug 4621] Option to create ancestors of destination, like &quot;mkdir -p&quot;</title>
	<published>2009-12-15T04:12:28Z</published>
	<updated>2009-12-15T04:12:28Z</updated>
	<author>
		<name>Bugzilla from samba-bugs@samba.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://bugzilla.samba.org/show_bug.cgi?id=4621&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=4621&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26793848&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CC| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26793848&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Comment #4 from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26793848&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt; &amp;nbsp;2009-12-15 06:12 CST -------
&lt;br&gt;Greetings,
&lt;br&gt;&lt;br&gt;I just noticed my rsync backup scripts failing and discovered it was due to a
&lt;br&gt;missing ancestor of the remote target directory. I immediately searched for a
&lt;br&gt;tunable that would signal rsync to use 'mkdir -p' instead of just 'mkdir' when
&lt;br&gt;initially creating the target directory, but didn't seem to find one.
&lt;br&gt;&lt;br&gt;I agree with everyone else that it would be incredibly useful for rsync to
&lt;br&gt;either adopt such behaviour by default (assuming always doing 'mkdir -p' isn't
&lt;br&gt;harmful in any way), or have a tunable to enable it.
&lt;br&gt;&lt;br&gt;Kind regards,
&lt;br&gt;moggie
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://bugzilla.samba.org/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the QA contact for the bug, or are watching the QA contact.
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-4621--Option-to-create-ancestors-of-destination%2C-like-%22mkdir--p%22-tp26793848p26793848.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26792092</id>
	<title>--timeout not honoured</title>
	<published>2009-12-15T01:27:15Z</published>
	<updated>2009-12-15T01:27:15Z</updated>
	<author>
		<name>Fabian Cenedese</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;I already wrote about this problem half a year ago but didn't get
&lt;br&gt;an answer: &lt;a href=&quot;http://lists.samba.org/archive/rsync/2009-June/023412.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/rsync/2009-June/023412.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;I'm using rsync 3.0.3 on a NAS. In the parameter list I use --timeout=1800.
&lt;br&gt;But still I often have rsync stall much longer than that.
&lt;br&gt;&lt;br&gt;Some examples:
&lt;br&gt;&lt;br&gt;2009/12/14 23:14:35 [8707] io timeout after 11670 seconds -- exiting
&lt;br&gt;2009/12/14 23:14:35 [8707] rsync error: timeout in data send/receive (code 30) at io.c(239) [sender=3.0.3pre1]
&lt;br&gt;&lt;br&gt;2009/12/14 00:20:04 [19046] io timeout after 15485 seconds -- exiting
&lt;br&gt;2009/12/14 00:20:04 [19046] rsync error: timeout in data send/receive (code 30) at io.c(239) [sender=3.0.3pre1]
&lt;br&gt;&lt;br&gt;2009/12/12 22:15:21 [29732] io timeout after 8082 seconds -- exiting
&lt;br&gt;2009/12/12 22:15:21 [29732] rsync error: timeout in data send/receive (code 30) at io.c(239) [sender=3.0.3pre1]
&lt;br&gt;&lt;br&gt;2009/12/11 23:14:23 [30216] io timeout after 11613 seconds -- exiting
&lt;br&gt;2009/12/11 23:14:23 [30216] rsync error: timeout in data send/receive (code 30) at io.c(239) [sender=3.0.3pre1]
&lt;br&gt;&lt;br&gt;I know that 3.0.3pre1 is not the newest version, but as this is running
&lt;br&gt;on a NAS it's not that easy to update or compile a newer version.
&lt;br&gt;&lt;br&gt;However, why is it that rsync waits much longer than given in --timeout?
&lt;br&gt;Shouldn't timeout work that way?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;bye &amp;nbsp;Fabi
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--timeout-not-honoured-tp26792092p26792092.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26790632</id>
	<title>Re: retransfer fail of large files with inplace and broken pipe</title>
	<published>2009-12-14T23:23:03Z</published>
	<updated>2009-12-14T23:23:03Z</updated>
	<author>
		<name>tom raschel</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;retransfer of large fail with inplace after a broken pipe is working now.
&lt;br&gt;(thx again to wayne)
&lt;br&gt;&lt;br&gt;but it is much more slow as if a &amp;quot;normal&amp;quot; rsync job.
&lt;br&gt;&lt;br&gt;I have read that setting the --backup option could help. (have not tried it
&lt;br&gt;yet)
&lt;br&gt;&lt;br&gt;But --backup option would halve the space, which is not desirable.
&lt;br&gt;&lt;br&gt;Is there a way to tell rsync to delete the --backup file after an successful
&lt;br&gt;sync.
&lt;br&gt;&lt;br&gt;thx
&lt;br&gt;Tom
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;quot;tom raschel&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26790632&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;raschel@...&lt;/a&gt;&amp;gt; schrieb im Newsbeitrag 
&lt;br&gt;news:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26790632&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;loom.20091213T075221-530@...&lt;/a&gt;...
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i have to tranfer large files each 5-100 GB (mo-fri) over dsl line.
&lt;br&gt;&amp;gt; unfortunately dsl lines are often not very stable and i got a broken pipe 
&lt;br&gt;&amp;gt; error.
&lt;br&gt;&amp;gt; (dsl lines are getting a new ip if they are broken or at least after a
&lt;br&gt;&amp;gt; reconnect every 24 hours)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i had a script which detect the rsync error and restart the transmission.
&lt;br&gt;&amp;gt; this means that if a file has transfered e.g. 80 % i start again from 
&lt;br&gt;&amp;gt; beginning.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; using partial and partial-dir was no solution to resync because rsync cut 
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; original file (e.g. from 20 GB to 15 GB) which means that i have to 
&lt;br&gt;&amp;gt; transfer
&lt;br&gt;&amp;gt; the whole rest of 5 GB.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; so i had a look at --inplace which I thougt could do the trick, but 
&lt;br&gt;&amp;gt; inplace is
&lt;br&gt;&amp;gt; updating the timestamp and if the script start a retransfer after a broken 
&lt;br&gt;&amp;gt; pipe
&lt;br&gt;&amp;gt; it fails because the --inplace file is newer than the original file of the
&lt;br&gt;&amp;gt; sender.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; using ignore-times could be a solution but slow down the whole process to 
&lt;br&gt;&amp;gt; much.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; is there a option to tell rsync not to change the time of a --inplace
&lt;br&gt;&amp;gt; transfered file, or maybe preserve the mtime and do a comparison of mtime
&lt;br&gt;&amp;gt; instead of ctime.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thx
&lt;br&gt;&amp;gt; Tom
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;&amp;gt; To unsubscribe or change options: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;&amp;gt; Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/retransfer-fail-of-large-files-with-inplace-and-broken-pipe-tp26764142p26790632.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26775795</id>
	<title>RE: Compression error (Re: rsync hangs during transfer)</title>
	<published>2009-12-14T02:36:03Z</published>
	<updated>2009-12-14T02:36:03Z</updated>
	<author>
		<name>Dimitar Dimitrov-14</name>
	</author>
	<content type="html">Hi Matt,
&lt;br&gt;&lt;br&gt;Thanks for your elaborate reply.
&lt;br&gt;&lt;br&gt;I am able to reproduce the error indeed running the suggested script:
&lt;br&gt;inflate (token) returned -5
&lt;br&gt;rsync error: error in rsync protocol data stream (code 12) at
&lt;br&gt;token.c(476) [receiver=2.6.9]
&lt;br&gt;rsync: connection unexpectedly closed (30 bytes received so far)
&lt;br&gt;[generator]
&lt;br&gt;rsync error: error in rsync protocol data stream (code 12) at io.c(454)
&lt;br&gt;[generator=2.6.9]
&lt;br&gt;rsync: connection unexpectedly closed (40 bytes received so far)
&lt;br&gt;[sender]
&lt;br&gt;rsync error: error in rsync protocol data stream (code 12) at io.c(454)
&lt;br&gt;[sender=2.6.9]
&lt;br&gt;&lt;br&gt;The issue appears to be definitely related to the zlib library as the
&lt;br&gt;rsync is running fine when the compression is turned off. I.e. running
&lt;br&gt;rsync -axv --delete-after -e ssh /SRCDIR/ blabla@DEST:/DESTDIR. 
&lt;br&gt;&lt;br&gt;I will also try to run the synchronization using the option
&lt;br&gt;'--whole-file' for the next couple of days and will let you know my
&lt;br&gt;findings.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Dimitar
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Matt McCutchen [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26775795&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;] 
&lt;br&gt;Sent: 14 December 2009 05:47
&lt;br&gt;To: Dimitar Dimitrov; rsync
&lt;br&gt;Subject: Compression error (Re: rsync hangs during transfer)
&lt;br&gt;&lt;br&gt;On Fri, 2009-12-11 at 08:58 +0100, Dimitar Dimitrov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am running the following rsync command to synchronize directories 
&lt;br&gt;&amp;gt; between two servers:
&lt;br&gt;&amp;gt; rsync -axvz --delete-after -e ssh /SRCDIR/ blabla@DEST:/DESTDIR
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The transfer starts and after a short while it appears to hang after 
&lt;br&gt;&amp;gt; some files have been transferred. The process establishes connection 
&lt;br&gt;&amp;gt; on both sides so I did an strace from the remote machine (using the 
&lt;br&gt;&amp;gt; rsync-debug script as described in the troubleshooting procedures).
&lt;br&gt;&amp;gt; The strace output is here
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.adrive.com/public/142cbf351c4b73a47c6e54ec3302b856041957d61&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.adrive.com/public/142cbf351c4b73a47c6e54ec3302b856041957d61&lt;/a&gt;&lt;br&gt;&amp;gt; 2ca68f440d16eccf950225c.html
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; rsync --version on both machines shows 'rsync &amp;nbsp;version 2.6.9 &amp;nbsp;protocol
&lt;/div&gt;&lt;br&gt;&amp;gt; version 29' and both machines are running Debian.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I would appreciate some ideas on where to look next.
&lt;br&gt;&lt;br&gt;I don't know about the hang. &amp;nbsp;I see rsync working for a few minutes and
&lt;br&gt;then exiting when the receiver encounters an error:
&lt;br&gt;&lt;br&gt;write(1, &amp;quot;\34\0\0\10inflate (token) returned -5\n&amp;quot;, 32) = 32
&lt;br&gt;&lt;br&gt;This is the &amp;quot;compression error&amp;quot; that has occasionally come up before:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lists.samba.org/archive/rsync/2004-December/011119.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/rsync/2004-December/011119.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://lists.samba.org/archive/rsync/2006-May/015621.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/rsync/2006-May/015621.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://lists.samba.org/archive/rsync/2008-September/021668.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/rsync/2008-September/021668.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528730&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528730&lt;/a&gt;&lt;br&gt;&lt;br&gt;And after some study, I think I figured out why it is happening. &amp;nbsp;The
&lt;br&gt;error message comes from &amp;quot;see_deflate_token&amp;quot; in token.c, and the code -5
&lt;br&gt;is Z_BUF_ERROR, meaning that the inflate call didn't make progress. &amp;nbsp;But
&lt;br&gt;a CHUNK_SIZE output buffer is always provided, and input is provided
&lt;br&gt;unless len == 0 at the start of the loop. &amp;nbsp;If len == 0, the loop would
&lt;br&gt;have exited unless the previous &amp;quot;inflate&amp;quot; filled the output buffer, in
&lt;br&gt;which case we want to call it again to obtain any remaining output. &amp;nbsp;But
&lt;br&gt;if the data block was exactly CHUNK_SIZE (32816), it would fill the
&lt;br&gt;output buffer with nothing remaining, and the next call to &amp;quot;inflate&amp;quot;
&lt;br&gt;would return Z_BUF_ERROR.
&lt;br&gt;&lt;br&gt;This case is in fact mentioned in the zlib FAQ
&lt;br&gt;(&lt;a href=&quot;http://www.zlib.net/zlib_faq.html#faq05):&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.zlib.net/zlib_faq.html#faq05):&lt;/a&gt;&amp;nbsp;&amp;quot;A Z_BUF_ERROR may in fact be
&lt;br&gt;unavoidable depending on how the functions are used, since it is not
&lt;br&gt;possible to tell whether or not there is more output pending when
&lt;br&gt;strm.avail_out returns with zero.&amp;quot;
&lt;br&gt;&lt;br&gt;The block size is indeed 32816, as one can see in the second 32-bit
&lt;br&gt;field of the sum head. &amp;nbsp;The sum head is shown in the following line
&lt;br&gt;after two 6-byte itemizations:
&lt;br&gt;&lt;br&gt;[pid &amp;nbsp;5213] write(1,
&lt;br&gt;&amp;quot;\252\26\0\0\10\0\262\26\0\0\f\2002\200\0\0000\200\0\0\3&amp;quot;..., 4092) =
&lt;br&gt;4092
&lt;br&gt;&lt;br&gt;Here's a simple script to reproduce the problem:
&lt;br&gt;&lt;br&gt;#!/bin/bash
&lt;br&gt;head -c 32816 /dev/zero &amp;gt;srcfile
&lt;br&gt;cp srcfile destfile
&lt;br&gt;rsync -I -z --no-whole-file --block-size=32816 srcfile destfile
&lt;br&gt;&lt;br&gt;So, we need to do something to &amp;quot;see_deflate_token&amp;quot;. &amp;nbsp;It would probably
&lt;br&gt;work to ignore the Z_BUF_ERROR and let the loop exit because the output
&lt;br&gt;buffer wasn't filled.
&lt;br&gt;&lt;br&gt;It seems inconsistent that the sender uses Z_INSERT_ONLY while the
&lt;br&gt;receiver uses this hack of synthesizing part of the compressed stream.
&lt;br&gt;(Previously, I had imagined Z_INSERT_ONLY worked on both sides.)
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Matt
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;The content of this e-mail and accompanying communications and attachments (collectively, this &amp;quot;e-mail&amp;quot;) are confidential to Markit Group Holdings Limited, its subsidiaries and affiliates (collectively, &amp;quot;Markit&amp;quot;) and may contain information which is legally privileged or protected from disclosure under applicable law or agreement. &amp;nbsp;This email may be read and used only by the intended recipient, and any disclosure, printing, copying, distribution (including forwarding), use, saving, or taking any action based on, the information contained herein (including any reliance thereon) is expressly prohibited. &amp;nbsp;If you received this email in error, please contact the sender immediately by return e-mail or by telephoning +44 20 7260 2000 and delete it. &amp;nbsp;You agree to take full responsibility for checking this email for viruses, and Markit shall not be responsible or liable for any damages arising from or relating to its use. &amp;nbsp;Markit reserves the right to monitor all e-mail communications
&lt;br&gt;&amp;nbsp; through its networks. &amp;nbsp;Markit makes no warranty as to the accuracy or completeness of this email and hereby disclaims any liability of any kind for the information contained herein. &amp;nbsp;Any opinions expressed in this email are those of the author and do not necessarily reflect the opinions of Markit. &amp;nbsp;For full details about Markit, its offerings and legal terms and conditions, please see Markit's website at &lt;a href=&quot;http://www.markit.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.markit.com&lt;/a&gt;&amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.markit.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.markit.com/&lt;/a&gt;&amp;gt; .
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rsync-hangs-during-transfer-tp26739955p26775795.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26774276</id>
	<title>Re: rsync speed on slow wireless links</title>
	<published>2009-12-14T00:18:35Z</published>
	<updated>2009-12-14T00:18:35Z</updated>
	<author>
		<name>Max Arnold</name>
	</author>
	<content type="html">On Mon, Dec 14, 2009 at 02:23:26AM -0500, Matt McCutchen wrote:
&lt;br&gt;&amp;gt; On Thu, 2009-12-10 at 13:08 +0700, Max Arnold wrote:
&lt;br&gt;&amp;gt; &amp;gt; I've noticed that rsync performs significantly worse than wget on slow congested wireless
&lt;br&gt;&amp;gt; &amp;gt; links (GPRS in my case). &amp;nbsp;I don't have large statistics, but in my tests rsync often stalls
&lt;br&gt;&amp;gt; &amp;gt; for 3-5 minutes, while wget stalls only for several seconds and then continues download.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; Rsync isn't doing anything fancy that would cause it to be especially
&lt;br&gt;&amp;gt; affected by packet loss or delay. &amp;nbsp;The protocol takes a few round trips
&lt;br&gt;&amp;gt; to set up, and then it is largely pipelined, so rsync can tolerate some
&lt;br&gt;&amp;gt; amount of latency without slowing down the whole process.
&lt;br&gt;&lt;br&gt;Can size of this initial metadata be approximately calculated? &amp;nbsp;I plan to experiment with
&lt;br&gt;different timeout values to find a balance between link utilization (by preventively aborting
&lt;br&gt;long stalls) and traffic consumption (by not retrying very often to prevent metadata overhead
&lt;br&gt;accumulation).
&lt;br&gt;&lt;br&gt;&amp;gt; I can't explain why rsync would stall much longer than wget. &amp;nbsp;The only
&lt;br&gt;&amp;gt; thought I had is that the network might have a quality-of-service policy
&lt;br&gt;&amp;gt; that favors port 80.
&lt;br&gt;&lt;br&gt;No, it probably haven't, because I've also tried to use OpenVPN which hides internal traffic
&lt;br&gt;from inspection and symptoms are the same.
&lt;br&gt;&lt;br&gt;Is someone here have any experience with different Linux tcp congestion control algorithms
&lt;br&gt;suitable for cellular networks? &amp;nbsp;What about adjusting send/receive buffers? It seems that low
&lt;br&gt;level radio link protocols and equipment do heavy buffering, which reduces packet loss but
&lt;br&gt;introduces unpredictable delays (up to tens of seconds). I.e. link equipment knows that there
&lt;br&gt;is no radio resources available and buffers packets (maybe even does retransmissions if
&lt;br&gt;necessary). And this probably fools tcp protocol which thinks there is congestion and packet
&lt;br&gt;loss.
&lt;br&gt;&lt;br&gt;Thanks for replying!
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rsync-speed-on-slow-wireless-links-tp26722581p26774276.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26774002</id>
	<title>DO NOT REPLY [Bug 6965] Avoid code 23 when source file is concurrently truncated</title>
	<published>2009-12-13T23:42:02Z</published>
	<updated>2009-12-13T23:42:02Z</updated>
	<author>
		<name>Bugzilla from samba-bugs@samba.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://bugzilla.samba.org/show_bug.cgi?id=6965&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=6965&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26774002&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Summary|truncated files and exit &amp;nbsp; &amp;nbsp;|Avoid code 23 when source
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|code 23 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |file is concurrently
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|truncated
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Comment #1 from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26774002&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt; &amp;nbsp;2009-12-14 01:42 CST -------
&lt;br&gt;Indeed. &amp;nbsp;This is probably one of many kinds of concurrent modification to the
&lt;br&gt;source that rsync handles ungracefully.
&lt;br&gt;&lt;br&gt;In general, when different system calls return inconsistent results, that could
&lt;br&gt;indicate either a concurrent modification or filesystem misbehavior. &amp;nbsp;The
&lt;br&gt;downside to always assuming concurrent modification is that we miss the
&lt;br&gt;opportunity to report filesystem misbehavior if it happens. &amp;nbsp;One example is the
&lt;br&gt;Cygwin &amp;quot;file has vanished&amp;quot; error with foreign characters in filenames (
&lt;br&gt;&lt;a href=&quot;http://lists.samba.org/archive/rsync/2008-January/019696.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/rsync/2008-January/019696.html&lt;/a&gt;&amp;nbsp;).
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://bugzilla.samba.org/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the QA contact for the bug, or are watching the QA contact.
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DO-NOT-REPLY--Bug-6965--New%3A-truncated-files-and-exit-code-23-tp26640239p26774002.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26773878</id>
	<title>Re: rsync speed on slow wireless links</title>
	<published>2009-12-13T23:23:26Z</published>
	<updated>2009-12-13T23:23:26Z</updated>
	<author>
		<name>Matt McCutchen-7</name>
	</author>
	<content type="html">On Thu, 2009-12-10 at 13:08 +0700, Max Arnold wrote:
&lt;br&gt;&amp;gt; I've noticed that rsync performs significantly worse than wget on slow congested wireless
&lt;br&gt;&amp;gt; links (GPRS in my case). &amp;nbsp;I don't have large statistics, but in my tests rsync often stalls
&lt;br&gt;&amp;gt; for 3-5 minutes, while wget stalls only for several seconds and then continues download.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there any rsync protocol features which are sensitive to packet loss and unpredictable delay?
&lt;br&gt;&amp;gt; I understand that rsync transaction has additional metadata transfer in the beginning (file
&lt;br&gt;&amp;gt; list etc.), but after that what can affect the speed? &amp;nbsp;Are there additional handshakes or
&lt;br&gt;&amp;gt; flow control other than tcp ones?
&lt;br&gt;&lt;br&gt;&amp;gt; rsync -rtmz --partial --progress --delete-delay --delay-updates --stats --itemize-changes
&lt;br&gt;&amp;gt; 	--timeout 120 --contimeout 20 source.example.com::module/file.zip /tmp/
&lt;br&gt;&lt;br&gt;Rsync isn't doing anything fancy that would cause it to be especially
&lt;br&gt;affected by packet loss or delay. &amp;nbsp;The protocol takes a few round trips
&lt;br&gt;to set up, and then it is largely pipelined, so rsync can tolerate some
&lt;br&gt;amount of latency without slowing down the whole process.
&lt;br&gt;&lt;br&gt;I can't explain why rsync would stall much longer than wget. &amp;nbsp;The only
&lt;br&gt;thought I had is that the network might have a quality-of-service policy
&lt;br&gt;that favors port 80.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Matt
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rsync-speed-on-slow-wireless-links-tp26722581p26773878.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26773405</id>
	<title>Re: retransfer fail of large files with inplace and broken pipe</title>
	<published>2009-12-13T22:06:32Z</published>
	<updated>2009-12-13T22:06:32Z</updated>
	<author>
		<name>tom raschel</name>
	</author>
	<content type="html">Thx to all,
&lt;br&gt;&lt;br&gt;it was the -u option which prevents rsync to resume the file.
&lt;br&gt;&lt;br&gt;Tom
&lt;br&gt;&lt;br&gt;&amp;quot;Tony Abernethy&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26773405&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tony@...&lt;/a&gt;&amp;gt; schrieb im Newsbeitrag 
&lt;br&gt;news:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26773405&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AF5EF1769D564645A9ACC947375F0D0215670875E6@...&lt;/a&gt;...
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Tom wrote:
&lt;br&gt;&amp;gt;&amp;gt; to make things more clear
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1.)
&lt;br&gt;&amp;gt;&amp;gt; first transfer is done either a initial setup or with a usb hdd to get
&lt;br&gt;&amp;gt;&amp;gt; sender and receiver in sync.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2.)
&lt;br&gt;&amp;gt;&amp;gt; transfer does not stop because rsync had a timeout, it stops because
&lt;br&gt;&amp;gt;&amp;gt; the dsl
&lt;br&gt;&amp;gt;&amp;gt; line is broken (which i could see at dyndns)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 3)
&lt;br&gt;&amp;gt;&amp;gt; if dsl line is stable the transfer is successfull (which works
&lt;br&gt;&amp;gt;&amp;gt; furtunately
&lt;br&gt;&amp;gt;&amp;gt; most of the time)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 4.)
&lt;br&gt;&amp;gt;&amp;gt; i am searching for a way to reduce the time to retransfer the file or
&lt;br&gt;&amp;gt;&amp;gt; in
&lt;br&gt;&amp;gt;&amp;gt; other words to resume the filetransfer after a broken pipe
&lt;br&gt;&amp;gt;&amp;gt; (e.g. if you download a 4.4 GB Centos Image it is comfortable to resume
&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; transfer of a 99 % transfered file instead to download all from
&lt;br&gt;&amp;gt;&amp;gt; scratch)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Tom
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But you already have 100% of the image, only it is an older version of the 
&lt;br&gt;&amp;gt; image.
&lt;br&gt;&amp;gt; The only thing I've found that works (and this is ONLY on something UNIXy) 
&lt;br&gt;&amp;gt; is
&lt;br&gt;&amp;gt; to monitor the temporary file on the target and if it is &amp;quot;big enough&amp;quot;, 
&lt;br&gt;&amp;gt; rename it
&lt;br&gt;&amp;gt; to the intended target file before the target rsync destroys it.
&lt;br&gt;&amp;gt; For real disasters, you can attempt to automate this process.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; First: Transfer or re-transfer. I think, particularly with bad
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; connections,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; you need to treat those VERY differently.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; For the initial transfer, --partial should help.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; For retransfers, where stuff in the middle has changed, I would
&lt;br&gt;&amp;gt;&amp;gt; expect the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; necessary state information to exist ONLY in the two running
&lt;br&gt;&amp;gt;&amp;gt; processes,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; and
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; that information is lost if the connection goes down.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; This includes the connection dying because both sides are going
&lt;br&gt;&amp;gt;&amp;gt; through
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; file and have nothing worthwhile to say to each other.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; As usual, flames invited if I've got any of this wrong.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Please use reply-all for most replies to avoid omitting the mailing
&lt;br&gt;&amp;gt;&amp;gt; list.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; To unsubscribe or change options:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; questions.html
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Please use reply-all for most replies to avoid omitting the mailing
&lt;br&gt;&amp;gt;&amp;gt; list.
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe or change options:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; questions.html
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;&amp;gt; To unsubscribe or change options: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;&amp;gt; Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/retransfer-fail-of-large-files-with-inplace-and-broken-pipe-tp26764142p26773405.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26772982</id>
	<title>Compression error (Re: rsync hangs during transfer)</title>
	<published>2009-12-13T20:47:23Z</published>
	<updated>2009-12-13T20:47:23Z</updated>
	<author>
		<name>Matt McCutchen-7</name>
	</author>
	<content type="html">On Fri, 2009-12-11 at 08:58 +0100, Dimitar Dimitrov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am running the following rsync command to synchronize directories
&lt;br&gt;&amp;gt; between two servers: 
&lt;br&gt;&amp;gt; rsync -axvz --delete-after -e ssh /SRCDIR/ blabla@DEST:/DESTDIR
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The transfer starts and after a short while it appears to hang after
&lt;br&gt;&amp;gt; some files have been transferred. The process establishes connection
&lt;br&gt;&amp;gt; on both sides so I did an strace from the remote machine (using the
&lt;br&gt;&amp;gt; rsync-debug script as described in the troubleshooting procedures).
&lt;br&gt;&amp;gt; The strace output is here
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.adrive.com/public/142cbf351c4b73a47c6e54ec3302b856041957d612ca68f440d16eccf950225c.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.adrive.com/public/142cbf351c4b73a47c6e54ec3302b856041957d612ca68f440d16eccf950225c.html&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; rsync --version on both machines shows 'rsync &amp;nbsp;version 2.6.9 &amp;nbsp;protocol
&lt;br&gt;&amp;gt; version 29' and both machines are running Debian.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I would appreciate some ideas on where to look next.
&lt;/div&gt;&lt;br&gt;I don't know about the hang. &amp;nbsp;I see rsync working for a few minutes and
&lt;br&gt;then exiting when the receiver encounters an error:
&lt;br&gt;&lt;br&gt;write(1, &amp;quot;\34\0\0\10inflate (token) returned -5\n&amp;quot;, 32) = 32
&lt;br&gt;&lt;br&gt;This is the &amp;quot;compression error&amp;quot; that has occasionally come up before:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lists.samba.org/archive/rsync/2004-December/011119.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/rsync/2004-December/011119.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://lists.samba.org/archive/rsync/2006-May/015621.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/rsync/2006-May/015621.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://lists.samba.org/archive/rsync/2008-September/021668.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/rsync/2008-September/021668.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528730&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528730&lt;/a&gt;&lt;br&gt;&lt;br&gt;And after some study, I think I figured out why it is happening. &amp;nbsp;The
&lt;br&gt;error message comes from &amp;quot;see_deflate_token&amp;quot; in token.c, and the code -5
&lt;br&gt;is Z_BUF_ERROR, meaning that the inflate call didn't make progress. &amp;nbsp;But
&lt;br&gt;a CHUNK_SIZE output buffer is always provided, and input is provided
&lt;br&gt;unless len == 0 at the start of the loop. &amp;nbsp;If len == 0, the loop would
&lt;br&gt;have exited unless the previous &amp;quot;inflate&amp;quot; filled the output buffer, in
&lt;br&gt;which case we want to call it again to obtain any remaining output. &amp;nbsp;But
&lt;br&gt;if the data block was exactly CHUNK_SIZE (32816), it would fill the
&lt;br&gt;output buffer with nothing remaining, and the next call to &amp;quot;inflate&amp;quot;
&lt;br&gt;would return Z_BUF_ERROR.
&lt;br&gt;&lt;br&gt;This case is in fact mentioned in the zlib FAQ
&lt;br&gt;(&lt;a href=&quot;http://www.zlib.net/zlib_faq.html#faq05):&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.zlib.net/zlib_faq.html#faq05):&lt;/a&gt;&amp;nbsp;&amp;quot;A Z_BUF_ERROR may in fact be
&lt;br&gt;unavoidable depending on how the functions are used, since it is not
&lt;br&gt;possible to tell whether or not there is more output pending when
&lt;br&gt;strm.avail_out returns with zero.&amp;quot;
&lt;br&gt;&lt;br&gt;The block size is indeed 32816, as one can see in the second 32-bit
&lt;br&gt;field of the sum head. &amp;nbsp;The sum head is shown in the following line
&lt;br&gt;after two 6-byte itemizations:
&lt;br&gt;&lt;br&gt;[pid &amp;nbsp;5213] write(1, &amp;quot;\252\26\0\0\10\0\262\26\0\0\f\2002\200\0\0000\200\0\0\3&amp;quot;..., 4092) = 4092
&lt;br&gt;&lt;br&gt;Here's a simple script to reproduce the problem:
&lt;br&gt;&lt;br&gt;#!/bin/bash
&lt;br&gt;head -c 32816 /dev/zero &amp;gt;srcfile
&lt;br&gt;cp srcfile destfile
&lt;br&gt;rsync -I -z --no-whole-file --block-size=32816 srcfile destfile
&lt;br&gt;&lt;br&gt;So, we need to do something to &amp;quot;see_deflate_token&amp;quot;. &amp;nbsp;It would probably
&lt;br&gt;work to ignore the Z_BUF_ERROR and let the loop exit because the output
&lt;br&gt;buffer wasn't filled.
&lt;br&gt;&lt;br&gt;It seems inconsistent that the sender uses Z_INSERT_ONLY while the
&lt;br&gt;receiver uses this hack of synthesizing part of the compressed stream.
&lt;br&gt;(Previously, I had imagined Z_INSERT_ONLY worked on both sides.)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Matt
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rsync-hangs-during-transfer-tp26739955p26772982.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26770527</id>
	<title>Re: v3.0.4 and OSXS - Exit code: 1</title>
	<published>2009-12-13T14:21:27Z</published>
	<updated>2009-12-13T14:21:27Z</updated>
	<author>
		<name>Henri S</name>
	</author>
	<content type="html">&amp;gt; When launchd executed this command, it did not work. &amp;nbsp;The system.log file reads &amp;quot;Exited with exit code: 1&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can you redirect the output to a file so it can tell you why it failed? &amp;nbsp;e.g. &amp;nbsp;&amp;gt;file.out 2&amp;gt;&amp;1
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; One common thing that prevents non-interactive sudo is this tty setting: 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Defaults &amp;nbsp; &amp;nbsp;requiretty
&lt;br&gt;&lt;br&gt;I agree, it is very likely that sudo is asking for a password and this may be causing the &amp;quot;Exited with exit code:1&amp;quot; error message. 
&lt;br&gt;&lt;br&gt;On possible alternative is to issue the rsync command directly as root. 
&lt;br&gt;&lt;br&gt;This approach may not be suitable or even required in your setup. It will probably depend upon the owners and permissions of the files located within the /Volumes/File_Storage/docs/ directory on your system.
&lt;br&gt;&lt;br&gt;I would also suggest that you consider using the absolute path to the rsync command when it is run via LaunchD. Three common possibilities are listed below :
&lt;br&gt;&lt;br&gt;&amp;nbsp;/opt/local/bin/rsync
&lt;br&gt;&amp;nbsp;/usr/local/bin/rsync_v3.0.6
&lt;br&gt;&amp;nbsp;/usr/bin/rsync
&lt;br&gt;&lt;br&gt;To find the absolute path to the version you are running, login to a shell on the server and issue the command below. You should find that the absolute path to the first rsync command in your search path will be returned : 
&lt;br&gt;&lt;br&gt;which rsync
&lt;br&gt;&lt;br&gt;&lt;br&gt;The reason I suggest specifying an absolute path is because, when you login to a terminal, it is very common that a search path has been set. This search path will be used to locate many commands, such as rsync on your system. The search path provides a places to search and also order if more than one command exists with the same name. It is possible to have more than one command with the same name installed on a system. The search path set in the terminal may be different to the search path set when the command is executed from LaunchD. As such this is quite important.
&lt;br&gt;&lt;br&gt;To determine your path issue the following command : 
&lt;br&gt;&lt;br&gt;echo $PATH
&lt;br&gt;&lt;br&gt;It is quite likely that the search path returned is different when you are logged in to a terminal session differs from the search path provided when commands are started from LaunchD or cron.
&lt;br&gt;&lt;br&gt;More details are available from : &lt;a href=&quot;http://en.wikipedia.org/wiki/PATH_(variable&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/PATH_(variable&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Hopefully this information is helpful and you will have your script working soon.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;&amp;nbsp;This email is protected by LBackup, an open source backup solution. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Free as in freedom; LBackup is licensed under the GNU GPL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Download LBackup now : &lt;a href=&quot;http://www.lbackup.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lbackup.org&lt;/a&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/v3.0.4-and-OSXS---Exit-code%3A-1-tp26767694p26770527.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26768388</id>
	<title>Re: v3.0.4 and OSXS - Exit code: 1</title>
	<published>2009-12-13T10:21:48Z</published>
	<updated>2009-12-13T10:21:48Z</updated>
	<author>
		<name>Jonathan S. Abrams-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Wayne Davison wrote:
&lt;blockquote cite=&quot;mid:733654e30912130942u95e2692u355225f4812f2a7f@mail.gmail.com&quot; type=&quot;cite&quot;&gt;
  &lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Dec 13, 2009 at 8:49 AM, Jonathan S.
Abrams &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26768388&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hociman@...&lt;/a&gt;&amp;gt;&lt;/span&gt;
wrote:&lt;br&gt;
  &lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;When
launchd executed this command, it did not work.  The system.log file
reads &quot;Exited with exit code: 1&quot;.&lt;br&gt;
  &lt;/blockquote&gt;
  &lt;div&gt;&lt;br&gt;
  &lt;/div&gt;
  &lt;div&gt;Can you redirect the output to a file so it can tell you why it
failed?  e.g.  &amp;gt;file.out 2&amp;gt;&amp;amp;1&lt;/div&gt;
  &lt;div&gt;&lt;br&gt;
  &lt;/div&gt;
  &lt;div&gt;One common thing that prevents non-interactive sudo is this tty
setting: &lt;/div&gt;
  &lt;/div&gt;
  &lt;br&gt;
Defaults    requiretty&lt;br&gt;
  &lt;br&gt;
..wayne..&lt;br&gt;
&lt;/blockquote&gt;
Wayne,&lt;br&gt;
&lt;br&gt;
Thanks for responding.  Would it be enough to instruct rsync to log
activity to a file?&lt;br&gt;
&lt;br&gt;
sudo rsync -aAHvWX --log-file=docs_transfer &lt;span class=&quot;moz-txt-slash&quot;&gt;&lt;span class=&quot;moz-txt-tag&quot;&gt;/&lt;/span&gt;Volumes/File_Storage/docs&lt;span class=&quot;moz-txt-tag&quot;&gt;/&lt;/span&gt;&lt;/span&gt; /Volumes/File_Storage_Mirror/docs&lt;br&gt;
&lt;br&gt;
-Jonathan&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/v3.0.4-and-OSXS---Exit-code%3A-1-tp26767694p26768388.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26768110</id>
	<title>Re: retransfer fail of large files with inplace and broken pipe</title>
	<published>2009-12-13T09:47:36Z</published>
	<updated>2009-12-13T09:47:36Z</updated>
	<author>
		<name>Wayne Davison-2</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Dec 12, 2009 at 11:21 PM, tom raschel &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26768110&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;raschel@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
so i had a look at --inplace which I thougt could do the trick, but inplace is updating the timestamp and if the script start a retransfer after a broken pipe it fails because the --inplace file is newer than the original file of the sender.&lt;br&gt;
&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Are you using --update (-u)?  If so, turn that off.  If not, rsync won&amp;#39;t skip a file that is newer, so something else is afoot.&lt;/div&gt;&lt;/div&gt;&lt;br&gt;..wayne..&lt;br&gt;
&lt;br /&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/retransfer-fail-of-large-files-with-inplace-and-broken-pipe-tp26764142p26768110.html" />
</entry>

</feed>
