<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-13158</id>
	<title>Nabble - Samba - rsync</title>
	<updated>2008-09-07T18:14:16Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Samba---rsync-f13158.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Samba---rsync-f13158.html" />
	<subtitle type="html">rsync user list</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19364461</id>
	<title>DO NOT REPLY [Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)</title>
	<published>2008-09-07T18:14:16Z</published>
	<updated>2008-09-07T18:14:16Z</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=2957&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=2957&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Comment #26 from &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19364461&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt; &amp;nbsp;2008-09-07 20:14 CST -------
&lt;br&gt;John, it would be helpful to have a stack trace and strace for each of the
&lt;br&gt;three processes (sender, generator, and receiver).
&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://www.nabble.com/DO-NOT-REPLY--Bug-2957--rsync-hangs-when-client-put-files-to-server-%28checked-in-2.6.6-too%29-tp19364461p19364461.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19364274</id>
	<title>DO NOT REPLY [Bug 2957] rsync hangs when client put files to server (checked in 2.6.6 too)</title>
	<published>2008-09-07T17:50:51Z</published>
	<updated>2008-09-07T17:50:51Z</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=2957&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=2957&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19364274&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;namegduf@...&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://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19364274&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;namegduf@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Comment #25 from &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19364274&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;namegduf@...&lt;/a&gt; &amp;nbsp;2008-09-07 19:51 CST -------
&lt;br&gt;I believe I have this bug occurring between two particular Linux systems over
&lt;br&gt;SSH, pushing the backup, the client running 3.0.3, and the server running
&lt;br&gt;2.6.9. The client performs much of the backup, then proceeds to hang
&lt;br&gt;completely.
&lt;br&gt;&lt;br&gt;An strace in the client ends with the following:
&lt;br&gt;&lt;br&gt;select(5, NULL, [4], [4], {60, 0}) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 1 (out [4], left {60, 0})
&lt;br&gt;write(4,
&lt;br&gt;&amp;quot;\252{\5\204\361\300\371I?\202\25\322\370\355t#\301\375\222\303O\220\357\251\301&amp;lt;S?\360&amp;lt;\364\312&amp;quot;...,
&lt;br&gt;2295) = 2295
&lt;br&gt;select(5, NULL, [4], [4], {60, 0}) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 1 (out [4], left {60, 0})
&lt;br&gt;write(4, &amp;quot;\377\377\377\377&amp;quot;, 4) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 4
&lt;br&gt;select(6, [5], [], NULL, {60, 0}) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0 (Timeout)
&lt;br&gt;select(6, [5], [], NULL, {60, 0}) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0 (Timeout)
&lt;br&gt;select(6, [5], [], NULL, {60, 0}) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0 (Timeout)
&lt;br&gt;select(6, [5], [], NULL, {60, 0}) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0 (Timeout)
&lt;br&gt;select(6, [5], [], NULL, {60, 0} &amp;lt;unfinished ...&amp;gt;
&lt;br&gt;&lt;br&gt;Is there anything I can do to assist in tracking down this bug? It's quite the
&lt;br&gt;irritant as it breaks my backup scripts for that server.
&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://www.nabble.com/DO-NOT-REPLY--Bug-2957--rsync-hangs-when-client-put-files-to-server-%28checked-in-2.6.6-too%29-tp19364274p19364274.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19362325</id>
	<title>Re: keep rsync from removing unfinished source files?</title>
	<published>2008-09-07T13:42:24Z</published>
	<updated>2008-09-07T13:42:24Z</updated>
	<author>
		<name>Matt McCutchen-7</name>
	</author>
	<content type="html">Aaron, please CC &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19362325&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rsync@...&lt;/a&gt; so that others can help you and
&lt;br&gt;your message is archived for others' future benefit.
&lt;br&gt;&lt;br&gt;On Sun, 2008-09-07 at 16:16 -0400, Aaron Swartz wrote:
&lt;br&gt;&amp;gt; &amp;gt; IMO, a proper solution is to have the crawler indicate somehow which
&lt;br&gt;&amp;gt; &amp;gt; files are unfinished so rsync can avoid copying those. &amp;nbsp;E.g., the
&lt;br&gt;&amp;gt; &amp;gt; crawler could name unfinished files according to a special pattern so
&lt;br&gt;&amp;gt; &amp;gt; that you could exclude them with --exclude, or it could keep them in a
&lt;br&gt;&amp;gt; &amp;gt; temporary directory that rsync doesn't visit.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I agree, but this is not how most crawlers are written. (Imagine, e.g. wget.)
&lt;br&gt;&lt;br&gt;Then I would modify the crawler.
&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://www.nabble.com/keep-rsync-from-removing-unfinished-source-files--tp19358885p19362325.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19361924</id>
	<title>Re: keep rsync from removing unfinished source files?</title>
	<published>2008-09-07T13:03:10Z</published>
	<updated>2008-09-07T13:03:10Z</updated>
	<author>
		<name>Matt McCutchen-7</name>
	</author>
	<content type="html">On Sun, 2008-09-07 at 10:59 -0400, Aaron Swartz wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have two machines, speed and mass. speed has a fast Internet
&lt;br&gt;&amp;gt; connection and is running a crawler which downloads a lot of files to
&lt;br&gt;&amp;gt; disk. mass has a lot of disk space. I want to move the files from
&lt;br&gt;&amp;gt; speed to mass after they're done downloading. Ideally, I'd just run:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $ rsync --remove-source-files speed:/var/crawldir .
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; but I worry that rsync will unlink a source file that hasn't finished
&lt;br&gt;&amp;gt; downloading yet. (I looked at the source code and I didn't see
&lt;br&gt;&amp;gt; anything protecting against this.)
&lt;/div&gt;&lt;br&gt;Yes, that could happen.
&lt;br&gt;&lt;br&gt;&amp;gt; Ideas I had were:
&lt;br&gt;&amp;gt; &amp;nbsp;- a pause between downloading the file list and downloading the files
&lt;br&gt;&lt;br&gt;This approach would fail for very large files unless the pause is
&lt;br&gt;correspondingly long.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp;- an exclude rule for recently modified files
&lt;br&gt;&amp;gt; &amp;nbsp;- a check to not delete a file if its file size has changed since it
&lt;br&gt;&amp;gt; was copied
&lt;br&gt;&lt;br&gt;Either of these would probably work, and they would not be hard to
&lt;br&gt;implement by modifying rsync, but they seem hackish.
&lt;br&gt;&lt;br&gt;IMO, a proper solution is to have the crawler indicate somehow which
&lt;br&gt;files are unfinished so rsync can avoid copying those. &amp;nbsp;E.g., the
&lt;br&gt;crawler could name unfinished files according to a special pattern so
&lt;br&gt;that you could exclude them with --exclude, or it could keep them in a
&lt;br&gt;temporary directory that rsync doesn't visit.
&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://www.nabble.com/keep-rsync-from-removing-unfinished-source-files--tp19358885p19361924.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19358885</id>
	<title>keep rsync from removing unfinished source files?</title>
	<published>2008-09-07T07:59:33Z</published>
	<updated>2008-09-07T07:59:33Z</updated>
	<author>
		<name>Aaron Swartz</name>
	</author>
	<content type="html">I have two machines, speed and mass. speed has a fast Internet
&lt;br&gt;connection and is running a crawler which downloads a lot of files to
&lt;br&gt;disk. mass has a lot of disk space. I want to move the files from
&lt;br&gt;speed to mass after they're done downloading. Ideally, I'd just run:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; $ rsync --remove-source-files speed:/var/crawldir .
&lt;br&gt;&lt;br&gt;but I worry that rsync will unlink a source file that hasn't finished
&lt;br&gt;downloading yet. (I looked at the source code and I didn't see
&lt;br&gt;anything protecting against this.) Any suggestions?
&lt;br&gt;&lt;br&gt;Ideas I had were:
&lt;br&gt;&amp;nbsp;- a pause between downloading the file list and downloading the files
&lt;br&gt;&amp;nbsp;- an exclude rule for recently modified files
&lt;br&gt;&amp;nbsp;- a check to not delete a file if its file size has changed since it was copied
&lt;br&gt;but I don't see any way to do any of these.
&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://www.nabble.com/keep-rsync-from-removing-unfinished-source-files--tp19358885p19358885.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19348626</id>
	<title>Rsync 3.0.4 released</title>
	<published>2008-09-06T09:51:54Z</published>
	<updated>2008-09-06T09:51:54Z</updated>
	<author>
		<name>Wayne Davison-2</name>
	</author>
	<content type="html">I have released rsync 3.0.4. &amp;nbsp;This is a bug-fix release with the only
&lt;br&gt;&amp;quot;enhancement&amp;quot; being the adding of a way to interact with an overly-
&lt;br&gt;restrictive server that refuses rsync's behind-the-scenes use of the
&lt;br&gt;-e option.
&lt;br&gt;&lt;br&gt;To see a full summary of the changes since 3.0.3, visit this link:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://rsync.samba.org/ftp/rsync/src/rsync-3.0.4-NEWS&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rsync.samba.org/ftp/rsync/src/rsync-3.0.4-NEWS&lt;/a&gt;&lt;br&gt;&lt;br&gt;You can download the source tar file and its signature from here:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://rsync.samba.org/ftp/rsync/src/rsync-3.0.4.tar.gz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rsync.samba.org/ftp/rsync/src/rsync-3.0.4.tar.gz&lt;/a&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://rsync.samba.org/ftp/rsync/src/rsync-3.0.4.tar.gz.asc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rsync.samba.org/ftp/rsync/src/rsync-3.0.4.tar.gz.asc&lt;/a&gt;&lt;br&gt;&lt;br&gt;The patches directory is now in a separate tar file (for those that want
&lt;br&gt;one or more of the patches):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://rsync.samba.org/ftp/rsync/src/rsync-patches-3.0.4.tar.gz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rsync.samba.org/ftp/rsync/src/rsync-patches-3.0.4.tar.gz&lt;/a&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://rsync.samba.org/ftp/rsync/src/rsync-patches-3.0.4.tar.gz.asc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rsync.samba.org/ftp/rsync/src/rsync-patches-3.0.4.tar.gz.asc&lt;/a&gt;&lt;br&gt;&lt;br&gt;See the rsync website for other download methods, including diffs, etc.:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://rsync.samba.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rsync.samba.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;..wayne..
&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;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/19348626/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Rsync-3.0.4-released-tp19348626p19348626.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19348201</id>
	<title>Re: Problem using rsync for backing up on to a NAS</title>
	<published>2008-09-06T09:09:24Z</published>
	<updated>2008-09-06T09:09:24Z</updated>
	<author>
		<name>Thomas Ebert</name>
	</author>
	<content type="html">Thanks for your reply,
&lt;br&gt;&lt;br&gt;what I'm wondering about is, that everything works fine if I delete the 
&lt;br&gt;dir /usr/share/terminfo in the linkdest before running rsync so that has 
&lt;br&gt;to be copied as is by rsync.
&lt;br&gt;&lt;br&gt;No other directory is affected, though. I also don't understand the 
&lt;br&gt;behaviour of rsync: First it complains that there is no such file or 
&lt;br&gt;directory just to say that it exists in the second step.
&lt;br&gt;&lt;br&gt;So, what could go wrong with /usr/share/terminfo and what do you 
&lt;br&gt;suggest? Currently I'm only backing up /home and my &amp;quot;mp3-partition&amp;quot; to 
&lt;br&gt;the NAS as this works without any problem and I'm backing up / to an 
&lt;br&gt;external hdd via usb.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Thomas
&lt;br&gt;&lt;br&gt;&lt;br&gt;Wayne Davison schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, Aug 25, 2008 at 04:43:29PM +0200, Thomas Ebert wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; rsync: stat 
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;/home/thomas/DiskStation/Thomas/backup/molungus-root/2008-08-25/usr/share/terminfo/L/LFT-PC850&amp;quot; 
&lt;br&gt;&amp;gt;&amp;gt; failed: No such file or directory (2)
&lt;br&gt;&amp;gt;&amp;gt; usr/share/terminfo/l/lft =&amp;gt; usr/share/terminfo/l/lft-pc850
&lt;br&gt;&amp;gt;&amp;gt; rsync: link 
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;/home/thomas/DiskStation/Thomas/backup/molungus-root/2008-08-25/usr/share/terminfo/L/LFT-PC850&amp;quot; 
&lt;br&gt;&amp;gt;&amp;gt; =&amp;gt; usr/share/terminfo/l/lft-pc850 failed: File exists (17)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This indicates that your filesystem is not behaving correctly, since it
&lt;br&gt;&amp;gt; is returning conflicting results to rsync. &amp;nbsp;One of your pastebin errors
&lt;br&gt;&amp;gt; from an earlier email also listed an NFS error with a mount going stale,
&lt;br&gt;&amp;gt; which is something that you'd need to fix outside of rsync.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; File index not found: 7235938 (-1 - 185115)
&lt;br&gt;&amp;gt;&amp;gt; rsync error: protocol incompatibility (code 2) at hlink.c(488) 
&lt;br&gt;&amp;gt;&amp;gt; [generator=3.0.3]
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That looks like some kind of text message getting in the way of the
&lt;br&gt;&amp;gt; protocol, since the number turns into the string &amp;quot;bin&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ..wayne..
&lt;br&gt;&amp;gt; &amp;nbsp; 
&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://www.nabble.com/Problem-using-rsync-for-backing-up-on-to-a-NAS-tp19114817p19348201.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19348248</id>
	<title>Re: Problem using rsync for backing up on to a NAS</title>
	<published>2008-09-06T08:22:44Z</published>
	<updated>2008-09-06T08:22:44Z</updated>
	<author>
		<name>Wayne Davison-2</name>
	</author>
	<content type="html">On Mon, Aug 25, 2008 at 04:43:29PM +0200, Thomas Ebert wrote:
&lt;br&gt;&amp;gt; rsync: stat 
&lt;br&gt;&amp;gt; &amp;quot;/home/thomas/DiskStation/Thomas/backup/molungus-root/2008-08-25/usr/share/terminfo/L/LFT-PC850&amp;quot; 
&lt;br&gt;&amp;gt; failed: No such file or directory (2)
&lt;br&gt;&amp;gt; usr/share/terminfo/l/lft =&amp;gt; usr/share/terminfo/l/lft-pc850
&lt;br&gt;&amp;gt; rsync: link 
&lt;br&gt;&amp;gt; &amp;quot;/home/thomas/DiskStation/Thomas/backup/molungus-root/2008-08-25/usr/share/terminfo/L/LFT-PC850&amp;quot; 
&lt;br&gt;&amp;gt; =&amp;gt; usr/share/terminfo/l/lft-pc850 failed: File exists (17)
&lt;br&gt;&lt;br&gt;This indicates that your filesystem is not behaving correctly, since it
&lt;br&gt;is returning conflicting results to rsync. &amp;nbsp;One of your pastebin errors
&lt;br&gt;from an earlier email also listed an NFS error with a mount going stale,
&lt;br&gt;which is something that you'd need to fix outside of rsync.
&lt;br&gt;&lt;br&gt;&amp;gt; File index not found: 7235938 (-1 - 185115)
&lt;br&gt;&amp;gt; rsync error: protocol incompatibility (code 2) at hlink.c(488) 
&lt;br&gt;&amp;gt; [generator=3.0.3]
&lt;br&gt;&lt;br&gt;That looks like some kind of text message getting in the way of the
&lt;br&gt;protocol, since the number turns into the string &amp;quot;bin&amp;quot;.
&lt;br&gt;&lt;br&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;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problem-using-rsync-for-backing-up-on-to-a-NAS-tp19114817p19348248.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19347424</id>
	<title>DO NOT REPLY [Bug 5529] Use commas in displayed numbers</title>
	<published>2008-09-06T07:52:01Z</published>
	<updated>2008-09-06T07:52:01Z</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=5529&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=5529&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19347424&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wayned@...&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;Status|ASSIGNED &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|RESOLVED
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Resolution| &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;|FIXED
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Version|3.0.2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |3.1.0
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Comment #4 from &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19347424&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wayned@...&lt;/a&gt; &amp;nbsp;2008-09-06 09:52 CST -------
&lt;br&gt;The 3.1.0dev source now outputs numbers in this more readable fashion (with a
&lt;br&gt;way to turn it off, as desired).
&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://www.nabble.com/DO-NOT-REPLY--Bug-5529---New%3A-Use-commas-in-displayed-numbers-tp17743199p19347424.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19347406</id>
	<title>DO NOT REPLY [Bug 5695] improve keep-alive code to handle long-running directory scans</title>
	<published>2008-09-06T07:49:30Z</published>
	<updated>2008-09-06T07:49:30Z</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=5695&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=5695&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19347406&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wayned@...&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|rsync local timeout &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |improve keep-alive code to
&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;|handle long-running
&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;|directory scans
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Version|3.0.3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |3.1.0
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Comment #3 from &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19347406&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wayned@...&lt;/a&gt; &amp;nbsp;2008-09-06 09:49 CST -------
&lt;br&gt;&amp;gt; please note that directory dati/Documenti/Gabriele/Maildir/.Bugtraq.2006/cur/
&lt;br&gt;&amp;gt; contains some thousands of files. A simple &amp;quot;ls&amp;quot; command on this folder, takes
&lt;br&gt;&amp;gt; many minutes to complete.
&lt;br&gt;&lt;br&gt;Unfortunately, this is not something that rsync currently has keep-alive code
&lt;br&gt;inside (the directory scanning code). &amp;nbsp;The timeout value currently needs to be
&lt;br&gt;set high enough to handle the largest directory scan, and (if something like
&lt;br&gt;--copy-file were used) the largest local-file copy the generator might do. &amp;nbsp;The
&lt;br&gt;only thing you can currently do is to increase the timeout to the point where
&lt;br&gt;it doesn't fire during a successful transfer.
&lt;br&gt;&lt;br&gt;This would be something that would be good to improve for 3.1.0.
&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://www.nabble.com/DO-NOT-REPLY--Bug-5695---New%3A-rsync-local-timeout-tp19011327p19347406.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19345650</id>
	<title>Rsync client under windows very slow</title>
	<published>2008-09-06T04:27:21Z</published>
	<updated>2008-09-06T04:27:21Z</updated>
	<author>
		<name>info-1581</name>
	</author>
	<content type="html">Hi all, i'm using an rsync windows server under cygwin. 
&lt;br&gt;The rsync linux clients work very well, using all available bandwidth;
&lt;br&gt;instead the only windows server 2003 client does not exceed the 80 KB/s when
&lt;br&gt;transferring files, so it is very slow.
&lt;br&gt;It is invoked through command line
&lt;br&gt;&lt;br&gt;rsync --verbose &amp;nbsp;--progress --stats --compress --recursive --times --perms
&lt;br&gt;--links --delete --password-file .......
&lt;br&gt;&lt;br&gt;I've read something about patches available for windows clients, or running
&lt;br&gt;rsync as server even on windows clients, but I've not clue on how deal with
&lt;br&gt;this.
&lt;br&gt;Any help please?
&lt;br&gt;Thank you all.
&lt;br&gt;Mik
&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://www.nabble.com/Rsync-client-under-windows-very-slow-tp19345650p19345650.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19339952</id>
	<title>Re: Problem using rsync for backing up on to a NAS</title>
	<published>2008-09-05T14:36:47Z</published>
	<updated>2008-09-05T14:36:47Z</updated>
	<author>
		<name>Thomas Ebert</name>
	</author>
	<content type="html">Sorry for being impatient, but no one has a clue about my problem?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Thomas
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------- Original-Nachricht --------
&lt;br&gt;&amp;gt; Datum: Mon, 25 Aug 2008 16:43:29 +0200
&lt;br&gt;&amp;gt; Von: Thomas Ebert &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19339952&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ThoEbert@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; An: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19339952&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rsync@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Betreff: Re: Problem using rsync for backing up on to a NAS
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; After searching again I tried the option -W because it is suggested for 
&lt;br&gt;&amp;gt; backups over LAN.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But again I get following error message:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; usr/share/terminfo/l/
&lt;br&gt;&amp;gt; deleting usr/share/terminfo/l/LFT-PC850
&lt;br&gt;&amp;gt; rsync: stat 
&lt;br&gt;&amp;gt; &amp;quot;/home/thomas/DiskStation/Thomas/backup/molungus-root/2008-08-25/usr/share/terminfo/L/LFT-PC850&amp;quot;
&lt;br&gt;&amp;gt; failed: No such file or directory (2)
&lt;br&gt;&amp;gt; usr/share/terminfo/l/lft =&amp;gt; usr/share/terminfo/l/lft-pc850
&lt;br&gt;&amp;gt; rsync: link 
&lt;br&gt;&amp;gt; &amp;quot;/home/thomas/DiskStation/Thomas/backup/molungus-root/2008-08-25/usr/share/terminfo/L/LFT-PC850&amp;quot;
&lt;br&gt;&amp;gt; =&amp;gt; usr/share/terminfo/l/lft-pc850 failed: File exists (17)
&lt;br&gt;&amp;gt; rsync: unlink 
&lt;br&gt;&amp;gt; &amp;quot;/home/thomas/DiskStation/Thomas/backup/molungus-root/2008-08-25/.&amp;quot; 
&lt;br&gt;&amp;gt; failed: Is a directory (21)
&lt;br&gt;&amp;gt; File index not found: 7235938 (-1 - 185115)
&lt;br&gt;&amp;gt; rsync error: protocol incompatibility (code 2) at hlink.c(488) 
&lt;br&gt;&amp;gt; [generator=3.0.3]
&lt;br&gt;&amp;gt; rsync error: received SIGUSR1 (code 19) at main.c(1286) [receiver=3.0.3]
&lt;br&gt;&amp;gt; rsync: connection unexpectedly closed (47697 bytes received so far)
&lt;br&gt;&amp;gt; [sender]
&lt;br&gt;&amp;gt; rsync error: error in rsync protocol data stream (code 12) at io.c(635) 
&lt;br&gt;&amp;gt; [sender=3.0.3]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Kind regards
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thomas
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thomas Ebert schrieb:
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I have a problem that was already discused in the german archlinux 
&lt;br&gt;&amp;gt; &amp;gt; forum and couldn't be solved. Because of this I was asked to use the 
&lt;br&gt;&amp;gt; &amp;gt; rsync mailing list. So here I am ;b
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm using the following script to backup my data to a Network Attached 
&lt;br&gt;&amp;gt; &amp;gt; Storage that has an ext3 formated hdd that is mounted via NFS
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; script: &lt;a href=&quot;http://pastebin.com/f6b7115c9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/f6b7115c9&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; This script works fine for /home but using it for / &amp;nbsp;always fails at 
&lt;br&gt;&amp;gt; &amp;gt; the folder /usr/share/terminfo
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Here are three error messages: &lt;a href=&quot;http://pastebin.com/f75703bda&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/f75703bda&lt;/a&gt;, 
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://pastebin.com/f235bd2e5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/f235bd2e5&lt;/a&gt;&amp;nbsp;and &lt;a href=&quot;http://pastebin.com/f6ff5890a&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/f6ff5890a&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I tried the same script on an USB-HDD and it works fine, even for /
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Here are some information about the NFS config:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; cat /proc/mounts | grep nfs: &lt;a href=&quot;http://pastebin.com/f250c9f63&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/f250c9f63&lt;/a&gt;&amp;nbsp;(I aslo 
&lt;br&gt;&amp;gt; &amp;gt; tried bigger rsize and wsize)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; exportfs -v:
&lt;br&gt;&amp;gt; &amp;gt; /volume1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;192.168.0.13(rw,wdelay,no_root_squash,no_subtree_check)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; cat /var/lib/nfs/etab:
&lt;br&gt;&amp;gt; &amp;gt; /volume1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 192.168.0.13(rw,sync,wdelay,hide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534) 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; cat /var/lib/nfs/xtab:
&lt;br&gt;&amp;gt; &amp;gt; /volume1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; molungus(rw,sync,wdelay,hide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534) 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I already deleted everything and started a new backup but this also 
&lt;br&gt;&amp;gt; &amp;gt; failed after the first day.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I hope you can help me. If you need further informations please let me 
&lt;br&gt;&amp;gt; &amp;gt; know.
&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; Thomas
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; P.S.: For those who speak German here you can find the thread in the 
&lt;br&gt;&amp;gt; &amp;gt; archlinux forum: 
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://forum.archlinux.de/?page=Postings;id=20;thread=8597;post=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forum.archlinux.de/?page=Postings;id=20;thread=8597;post=0&lt;/a&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; -- 
&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;/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://www.nabble.com/Problem-using-rsync-for-backing-up-on-to-a-NAS-tp19114817p19339952.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19338372</id>
	<title>Re: simple incremental backup woes. solutions?</title>
	<published>2008-09-05T12:55:25Z</published>
	<updated>2008-09-05T12:55:25Z</updated>
	<author>
		<name>The Peach</name>
	</author>
	<content type="html">On Fri, 05 Sep 2008 15:44:43 -0400
&lt;br&gt;Matt wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Yes. &amp;nbsp;I hacked up a patch to do this for you with a --backup-whole-dirs
&lt;br&gt;&amp;gt; option; the patch is attached. &amp;nbsp;The patched version of rsync is also
&lt;br&gt;&amp;gt; available in branch hacks/backup-whole-dirs of my repository.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Matt
&lt;br&gt;&lt;br&gt;thank you a lot.
&lt;br&gt;I'm looking forward to test this.
&lt;br&gt;I'll report in asap.
&lt;br&gt;&lt;br&gt;thanks again,
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Matteo 'Peach' Pescarin
&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://www.nabble.com/simple-incremental-backup-woes.-solutions--tp19292438p19338372.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19338211</id>
	<title>Re: simple incremental backup woes. solutions?</title>
	<published>2008-09-05T12:44:43Z</published>
	<updated>2008-09-05T12:44:43Z</updated>
	<author>
		<name>Matt McCutchen-7</name>
	</author>
	<content type="html">On Fri, 2008-09-05 at 20:29 +0200, The Peach wrote:
&lt;br&gt;&amp;gt; Right now: 
&lt;br&gt;&amp;gt; if the directory in the source is deleted, in the destination the files
&lt;br&gt;&amp;gt; contained in the directory are renamed, while the directory itself
&lt;br&gt;&amp;gt; is not.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So... is it possible to have both renamed instead of only the files?
&lt;br&gt;&lt;br&gt;Yes. &amp;nbsp;I hacked up a patch to do this for you with a --backup-whole-dirs
&lt;br&gt;option; the patch is attached. &amp;nbsp;The patched version of rsync is also
&lt;br&gt;available in branch hacks/backup-whole-dirs of my repository.
&lt;br&gt;&lt;br&gt;Matt
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[backup-whole-dirs.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff --git a/generator.c b/generator.c
&lt;br&gt;index 8557740..a97ce20 100644
&lt;br&gt;--- a/generator.c
&lt;br&gt;+++ b/generator.c
&lt;br&gt;@@ -182,7 +182,9 @@ static enum delret delete_item(char *fbuf, uint16 mode, uint16 flags)
&lt;br&gt;&amp;nbsp;			--file_extra_cnt;
&lt;br&gt;&amp;nbsp;			uid_ndx = 0;
&lt;br&gt;&amp;nbsp;		}
&lt;br&gt;-		if (ret == DR_NOT_EMPTY || ret == DR_AT_LIMIT)
&lt;br&gt;+		/* In Peach's use case, we want to move a deleted directory
&lt;br&gt;+		 * even if it contains (protected) previous backup files. */
&lt;br&gt;+		if (make_backups &amp;lt; 2 &amp;&amp; (ret == DR_NOT_EMPTY || ret == DR_AT_LIMIT))
&lt;br&gt;&amp;nbsp;			goto check_ret;
&lt;br&gt;&amp;nbsp;		/* OK: try to delete the directory. */
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;@@ -190,12 +192,14 @@ static enum delret delete_item(char *fbuf, uint16 mode, uint16 flags)
&lt;br&gt;&amp;nbsp;	if (!(flags &amp; DEL_MAKE_ROOM) &amp;&amp; max_delete &amp;gt;= 0 &amp;&amp; ++deletion_count &amp;gt; max_delete)
&lt;br&gt;&amp;nbsp;		return DR_AT_LIMIT;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (S_ISDIR(mode)) {
&lt;br&gt;-		what = &amp;quot;rmdir&amp;quot;;
&lt;br&gt;-		ok = do_rmdir(fbuf) == 0;
&lt;br&gt;-	} else if (make_backups &amp;gt; 0 &amp;&amp; (backup_dir || !is_backup_file(fbuf))) {
&lt;br&gt;+	if (make_backups &amp;gt; 0 &amp;&amp; (backup_dir || !is_backup_file(fbuf))
&lt;br&gt;+		/* Allow a dir to be backed up as a whole? */
&lt;br&gt;+		&amp;&amp; (make_backups &amp;gt;= 2 || !S_ISDIR(mode))) {
&lt;br&gt;&amp;nbsp;		what = &amp;quot;make_backup&amp;quot;;
&lt;br&gt;&amp;nbsp;		ok = make_backup(fbuf);
&lt;br&gt;+	} else if (S_ISDIR(mode)) {
&lt;br&gt;+		what = &amp;quot;rmdir&amp;quot;;
&lt;br&gt;+		ok = do_rmdir(fbuf) == 0;
&lt;br&gt;&amp;nbsp;	} else {
&lt;br&gt;&amp;nbsp;		what = &amp;quot;unlink&amp;quot;;
&lt;br&gt;&amp;nbsp;		ok = robust_unlink(fbuf) == 0;
&lt;br&gt;diff --git a/options.c b/options.c
&lt;br&gt;index 2d04974..5422e20 100644
&lt;br&gt;--- a/options.c
&lt;br&gt;+++ b/options.c
&lt;br&gt;@@ -661,6 +661,7 @@ void usage(enum logcode F)
&lt;br&gt;&amp;nbsp; &amp;nbsp;rprintf(F,&amp;quot; -R, --relative &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;use relative path names\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;rprintf(F,&amp;quot; &amp;nbsp; &amp;nbsp; --no-implied-dirs &amp;nbsp; &amp;nbsp; &amp;nbsp; don't send implied dirs with --relative\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;rprintf(F,&amp;quot; -b, --backup &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;make backups (see --suffix &amp; --backup-dir)\n&amp;quot;);
&lt;br&gt;+ &amp;nbsp;rprintf(F,&amp;quot; &amp;nbsp; &amp;nbsp; --backup-whole-dirs &amp;nbsp; &amp;nbsp; move deleted dirs as a whole (see caveat)\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;rprintf(F,&amp;quot; &amp;nbsp; &amp;nbsp; --backup-dir=DIR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;make backups into hierarchy based in DIR\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;rprintf(F,&amp;quot; &amp;nbsp; &amp;nbsp; --suffix=SUFFIX &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set backup suffix (default %s w/o --backup-dir)\n&amp;quot;,BACKUP_SUFFIX);
&lt;br&gt;&amp;nbsp; &amp;nbsp;rprintf(F,&amp;quot; -u, --update &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;skip files that are newer on the receiver\n&amp;quot;);
&lt;br&gt;@@ -953,6 +954,7 @@ static struct poptOption long_options[] = {
&lt;br&gt;&amp;nbsp; &amp;nbsp;{&amp;quot;no-bwlimit&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; 0, &amp;nbsp;POPT_ARG_VAL, &amp;nbsp; &amp;nbsp;&amp;bwlimit, 0, 0, 0 },
&lt;br&gt;&amp;nbsp; &amp;nbsp;{&amp;quot;backup&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'b', POPT_ARG_VAL, &amp;nbsp; &amp;nbsp;&amp;make_backups, 1, 0, 0 },
&lt;br&gt;&amp;nbsp; &amp;nbsp;{&amp;quot;no-backup&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0, &amp;nbsp;POPT_ARG_VAL, &amp;nbsp; &amp;nbsp;&amp;make_backups, 0, 0, 0 },
&lt;br&gt;+ &amp;nbsp;{&amp;quot;backup-whole-dirs&amp;quot;,0, &amp;nbsp;POPT_ARG_VAL, &amp;nbsp; &amp;nbsp;&amp;make_backups, 2, 0, 0 },
&lt;br&gt;&amp;nbsp; &amp;nbsp;{&amp;quot;backup-dir&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; 0, &amp;nbsp;POPT_ARG_STRING, &amp;backup_dir, 0, 0, 0 },
&lt;br&gt;&amp;nbsp; &amp;nbsp;{&amp;quot;suffix&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0, &amp;nbsp;POPT_ARG_STRING, &amp;backup_suffix, 0, 0, 0 },
&lt;br&gt;&amp;nbsp; &amp;nbsp;{&amp;quot;list-only&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0, &amp;nbsp;POPT_ARG_VAL, &amp;nbsp; &amp;nbsp;&amp;list_only, 2, 0, 0 },
&lt;br&gt;@@ -2386,6 +2388,8 @@ void server_options(char **args, int *argc_p)
&lt;br&gt;&amp;nbsp;			args[ac++] = &amp;quot;--super&amp;quot;;
&lt;br&gt;&amp;nbsp;		if (size_only)
&lt;br&gt;&amp;nbsp;			args[ac++] = &amp;quot;--size-only&amp;quot;;
&lt;br&gt;+		if (make_backups &amp;gt; 1)
&lt;br&gt;+			args[ac++] = &amp;quot;--backup-whole-dirs&amp;quot;;
&lt;br&gt;&amp;nbsp;	} else {
&lt;br&gt;&amp;nbsp;		if (skip_compress) {
&lt;br&gt;&amp;nbsp;			if (asprintf(&amp;arg, &amp;quot;--skip-compress=%s&amp;quot;, skip_compress) &amp;lt; 0)
&lt;br&gt;diff --git a/rsync.yo b/rsync.yo
&lt;br&gt;index 79cbf07..ac31942 100644
&lt;br&gt;--- a/rsync.yo
&lt;br&gt;+++ b/rsync.yo
&lt;br&gt;@@ -325,6 +325,7 @@ to the detailed description below for a complete description. &amp;nbsp;verb(
&lt;br&gt;&amp;nbsp; -R, --relative &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;use relative path names
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --no-implied-dirs &amp;nbsp; &amp;nbsp; &amp;nbsp; don't send implied dirs with --relative
&lt;br&gt;&amp;nbsp; -b, --backup &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;make backups (see --suffix &amp; --backup-dir)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; --backup-whole-dirs &amp;nbsp; &amp;nbsp; move deleted dirs as a whole (see caveat)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --backup-dir=DIR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;make backups into hierarchy based in DIR
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; --suffix=SUFFIX &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; backup suffix (default ~ w/o --backup-dir)
&lt;br&gt;&amp;nbsp; -u, --update &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;skip files that are newer on the receiver
&lt;br&gt;@@ -717,6 +718,12 @@ in the list so that it has a high enough priority to be effective (e.g., if
&lt;br&gt;&amp;nbsp;your rules specify a trailing inclusion/exclusion of '*', the auto-added
&lt;br&gt;&amp;nbsp;rule would never be reached).
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+dit(bf(--backup-whole-dirs)) This option makes rsync back up a destination
&lt;br&gt;+directory that no longer exists on the source as a whole by renaming it with
&lt;br&gt;+the suffix, in addition to renaming the files inside. &amp;nbsp;Warning: this happens
&lt;br&gt;+irrespective of any non-perishably protected descendants of the directory.
&lt;br&gt;+This is a hack for Matteo &amp;quot;Peach&amp;quot; Pescarin's use case.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;dit(bf(--backup-dir=DIR)) In combination with the bf(--backup) option, this
&lt;br&gt;&amp;nbsp;tells rsync to store all backups in the specified directory on the receiving
&lt;br&gt;&amp;nbsp;side. &amp;nbsp;This can be used for incremental backups. &amp;nbsp;You can additionally
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&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://www.nabble.com/simple-incremental-backup-woes.-solutions--tp19292438p19338211.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19337029</id>
	<title>Re: simple incremental backup woes. solutions?</title>
	<published>2008-09-05T11:29:16Z</published>
	<updated>2008-09-05T11:29:16Z</updated>
	<author>
		<name>The Peach</name>
	</author>
	<content type="html">On Fri, 05 Sep 2008 11:05:52 -0400
&lt;br&gt;Matt wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; o you want it to
&lt;br&gt;&amp;gt; just add the suffix to deleted destination directories, or to both the
&lt;br&gt;&amp;gt; directories and the files inside, or what?
&lt;br&gt;&lt;br&gt;Sorry for this misunderstanding.
&lt;br&gt;&lt;br&gt;Right now: 
&lt;br&gt;if the directory in the source is deleted, in the destination the files
&lt;br&gt;contained in the directory are renamed, while the directory itself
&lt;br&gt;is not.
&lt;br&gt;&lt;br&gt;So... is it possible to have both renamed instead of only the files?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;-- 
&lt;br&gt;Matteo 'Peach' Pescarin
&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://www.nabble.com/simple-incremental-backup-woes.-solutions--tp19292438p19337029.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19336718</id>
	<title>Re: Compression error? -- &quot;Inflate (token) returned -5&quot;</title>
	<published>2008-09-05T11:08:09Z</published>
	<updated>2008-09-05T11:08:09Z</updated>
	<author>
		<name>Bas van Schaik</name>
	</author>
	<content type="html">Paul Slootman wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri 05 Sep 2008, Bas van Schaik wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; is disabling the compression... FYI: both client and server are using
&lt;br&gt;&amp;gt;&amp;gt; rsync 2.6.9 (from Ubuntu Hardy Heron). Does anyone have more information
&lt;br&gt;&amp;gt;&amp;gt; regarding this issue?
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Well, why not try upgrading to the latest? If that's not an option for
&lt;br&gt;&amp;gt; you, what do you want us to do? Retro-actively fix your version by
&lt;br&gt;&amp;gt; jumping in our time machine? ;-)
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;You're right, I should have been more clear about this. I think there
&lt;br&gt;exist about three different threads about this problem, which all ended
&lt;br&gt;up in some rsync developer asking for the problematic files and the
&lt;br&gt;rsync user admitting that he had already deleted those. Since the cause
&lt;br&gt;of the problem is (AFAIK) still unknown, I assumed it wasn't fixed in
&lt;br&gt;the last few months. If you have reason to believe it actually _is_
&lt;br&gt;fixed, I'll of course upgrade my rsync installation. But do you have
&lt;br&gt;reasons to believe this?
&lt;br&gt;&lt;br&gt;&amp;nbsp; -- Bas
&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://www.nabble.com/Compression-error--tp11698758p19336718.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19333280</id>
	<title>Re: simple incremental backup woes. solutions?</title>
	<published>2008-09-05T08:05:52Z</published>
	<updated>2008-09-05T08:05:52Z</updated>
	<author>
		<name>Matt McCutchen-7</name>
	</author>
	<content type="html">On Fri, 2008-09-05 at 13:15 +0200, The Peach wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, 04 Sep 2008 22:48:28 +0000
&lt;br&gt;&amp;gt; Matt wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; It's not clear to me what the problem is, since the &amp;quot;cannot delete a
&lt;br&gt;&amp;gt; &amp;gt; non-empty dir&amp;quot; message is pretty harmless. &amp;nbsp;Do you want the directories
&lt;br&gt;&amp;gt; &amp;gt; to be renamed? &amp;nbsp;If so, should the individual files inside be renamed
&lt;br&gt;&amp;gt; &amp;gt; too? &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The situation with my rsync config, as stated in my first post, is this:
&lt;br&gt;&amp;gt; 1) In the source I've got a directory with several files inside it.
&lt;br&gt;&amp;gt; 2) When first executed, rsync copies everything correctly.
&lt;br&gt;&amp;gt; 3) On the source, I delete the directory.
&lt;br&gt;&amp;gt; 4) On next execution, rsync renames all the files inside the directory
&lt;br&gt;&amp;gt; as I told it to do so. But the directory will not be renamed like it
&lt;br&gt;&amp;gt; did with the files. Instead rsync tries to delete the directory
&lt;br&gt;&amp;gt; finishing with an obvious warning of &amp;quot;cannot delete non-empty
&lt;br&gt;&amp;gt; directory&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; is it clear?
&lt;/div&gt;&lt;/div&gt;I understand what rsync is doing now. &amp;nbsp;My question which you haven't
&lt;br&gt;answered is, what exactly do you *want* rsync to do? &amp;nbsp;Do you want it to
&lt;br&gt;just add the suffix to deleted destination directories, or to both the
&lt;br&gt;directories and the files inside, or what?
&lt;br&gt;&lt;br&gt;Matt
&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;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/19333280/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/simple-incremental-backup-woes.-solutions--tp19292438p19333280.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19331842</id>
	<title>Re: Compression error? -- &quot;Inflate (token) returned -5&quot;</title>
	<published>2008-09-05T06:58:39Z</published>
	<updated>2008-09-05T06:58:39Z</updated>
	<author>
		<name>Paul Slootman-5</name>
	</author>
	<content type="html">On Fri 05 Sep 2008, Bas van Schaik wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; is disabling the compression... FYI: both client and server are using
&lt;br&gt;&amp;gt; rsync 2.6.9 (from Ubuntu Hardy Heron). Does anyone have more information
&lt;br&gt;&amp;gt; regarding this issue?
&lt;br&gt;&lt;br&gt;Well, why not try upgrading to the latest? If that's not an option for
&lt;br&gt;you, what do you want us to do? Retro-actively fix your version by
&lt;br&gt;jumping in our time machine? ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Paul Slootman
&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://www.nabble.com/Compression-error--tp11698758p19331842.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19331506</id>
	<title>Re: Compression error? -- &quot;Inflate (token) returned -5&quot;</title>
	<published>2008-09-05T06:08:30Z</published>
	<updated>2008-09-05T06:08:30Z</updated>
	<author>
		<name>Bas van Schaik</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;A little less than a year ago I replied to this thread, but I'm still
&lt;br&gt;having similar problems. Again, the &amp;quot;Inflate (token) returned -5&amp;quot; error
&lt;br&gt;occurred while syncing a file:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2008/09/04 22:11:20 [7017] name lookup failed for 172.26.3.224: Name
&lt;br&gt;&amp;gt; or service not known
&lt;br&gt;&amp;gt; 2008/09/04 22:11:20 [7017] connect from UNKNOWN (172.26.3.224)
&lt;br&gt;&amp;gt; 2008/09/04 22:11:20 [7017] rsync to backups/tetra-networking/latest/
&lt;br&gt;&amp;gt; from wallis@UNKNOWN (172.26.3.224)
&lt;br&gt;&amp;gt; 2008/09/04 22:11:20 [7017] receiving file list
&lt;br&gt;&amp;gt; 2008/09/04 22:11:47 [7017] inflate (token) returned -5
&lt;br&gt;&amp;gt; 2008/09/04 22:11:47 [7017] rsync error: error in rsync protocol data
&lt;br&gt;&amp;gt; stream (code 12) at token.c(476) [receiver=2.6.9]
&lt;br&gt;&amp;gt; 2008/09/04 22:11:47 [7017] rsync: connection unexpectedly closed
&lt;br&gt;&amp;gt; (3301591 bytes received so far) [generator]
&lt;br&gt;&amp;gt; 2008/09/04 22:11:47 [7017] rsync error: error in rsync protocol data
&lt;br&gt;&amp;gt; stream (code 12) at io.c(454) [generator=2.6.9]
&lt;/div&gt;Above you see a snippet of the server log, the client only reports:
&lt;br&gt;&amp;gt; rsync: writefd_unbuffered failed to write 1 bytes [sender]: Connection reset by peer (104)
&lt;br&gt;&amp;gt; rsync: connection unexpectedly closed (291575 bytes received so far) [sender]
&lt;br&gt;&amp;gt; rsync error: error in rsync protocol data stream (code 12) at io.c(454) [sender=2.6.9]
&lt;br&gt;&lt;br&gt;And again, when using triple verbose mode the last &amp;quot;match at&amp;quot; lines
&lt;br&gt;almost matches the filesize of the file to transfer:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; (...)
&lt;br&gt;&amp;gt; match at 68541840 last_match=68541840 j=8278 len=8280 n=0
&lt;br&gt;&amp;gt; match at 68550120 last_match=68550120 j=8279 len=8280 n=0
&lt;br&gt;&amp;gt; match at 68558400 last_match=68558400 j=8280 len=250 n=0
&lt;br&gt;&amp;gt; rsync: writefd_unbuffered failed to write 1 bytes [sender]: Connection
&lt;br&gt;&amp;gt; reset by peer (104)
&lt;br&gt;&amp;gt; (...)
&lt;br&gt;&amp;gt; $ ls -la
&lt;br&gt;&amp;gt; &amp;quot;/backups/tetra-networking/latest/10.23.23.1/w/home/connie/Foto's BBQ
&lt;br&gt;&amp;gt; 23-06-06.zip&amp;quot;
&lt;br&gt;&amp;gt; -rwxr--r-- 9 rsync nogroup 68558650 2008-08-19 23:42
&lt;br&gt;&amp;gt; /backups/tetra-networking/latest/10.23.23.1/w/home/connie/Foto's BBQ
&lt;br&gt;&amp;gt; 23-06-06.zip
&lt;/div&gt;(note that 68558400 + 250 = 68558650)
&lt;br&gt;&lt;br&gt;The file to be transferred is quite small: about 66MB. However, if I try
&lt;br&gt;to sync the file on its own (not the whole directory structure) the
&lt;br&gt;error does not occur! The tail of the output of the successful rsync:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; $ rsync -ratzvvv --delete --compress-level=9 --timeout=3600
&lt;br&gt;&amp;gt; --password-file=/backups/rsync_wallis.secret client-original.zip
&lt;br&gt;&amp;gt; wallis@hilbert::tmp/
&lt;br&gt;&amp;gt; (...)
&lt;br&gt;&amp;gt; match at 68550120 last_match=68550120 j=8279 len=8280 n=0
&lt;br&gt;&amp;gt; match at 68558400 last_match=68558400 j=8280 len=250 n=0
&lt;br&gt;&amp;gt; done hash search
&lt;br&gt;&amp;gt; sending file_sum
&lt;br&gt;&amp;gt; false_alarms=0 hash_hits=8281 matches=8281
&lt;br&gt;&amp;gt; sender finished client-original.zip
&lt;br&gt;&amp;gt; send_files phase=1
&lt;br&gt;&amp;gt; send_files phase=2
&lt;br&gt;&amp;gt; send files finished
&lt;br&gt;&amp;gt; total: matches=8281 &amp;nbsp;hash_hits=8281 &amp;nbsp;false_alarms=0 data=0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; sent 104 bytes &amp;nbsp;received 58005 bytes &amp;nbsp;16602.57 bytes/sec
&lt;br&gt;&amp;gt; total size is 68558650 &amp;nbsp;speedup is 1179.83
&lt;br&gt;&amp;gt; _exit_cleanup(code=0, file=main.c, line=977): about to call exit(0)
&lt;/div&gt;&lt;br&gt;Clearly it has something to do with the context which the file is in and
&lt;br&gt;not the contents of this single file. The only known workaround I know
&lt;br&gt;is disabling the compression... FYI: both client and server are using
&lt;br&gt;rsync 2.6.9 (from Ubuntu Hardy Heron). Does anyone have more information
&lt;br&gt;regarding this issue?
&lt;br&gt;&lt;br&gt;Kind regards,
&lt;br&gt;&lt;br&gt;&amp;nbsp; -- Bas
&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://www.nabble.com/Compression-error--tp11698758p19331506.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19329162</id>
	<title>Re: simple incremental backup woes. solutions?</title>
	<published>2008-09-05T04:15:46Z</published>
	<updated>2008-09-05T04:15:46Z</updated>
	<author>
		<name>The Peach</name>
	</author>
	<content type="html">On Thu, 04 Sep 2008 22:48:28 +0000
&lt;br&gt;Matt wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; It's not clear to me what the problem is, since the &amp;quot;cannot delete a
&lt;br&gt;&amp;gt; non-empty dir&amp;quot; message is pretty harmless. &amp;nbsp;Do you want the directories
&lt;br&gt;&amp;gt; to be renamed? &amp;nbsp;If so, should the individual files inside be renamed
&lt;br&gt;&amp;gt; too? &amp;nbsp;
&lt;br&gt;&lt;br&gt;The situation with my rsync config, as stated in my first post, is this:
&lt;br&gt;1) In the source I've got a directory with several files inside it.
&lt;br&gt;2) When first executed, rsync copies everything correctly.
&lt;br&gt;3) On the source, I delete the directory.
&lt;br&gt;4) On next execution, rsync renames all the files inside the directory
&lt;br&gt;as I told it to do so. But the directory will not be renamed like it
&lt;br&gt;did with the files. Instead rsync tries to delete the directory
&lt;br&gt;finishing with an obvious warning of &amp;quot;cannot delete non-empty
&lt;br&gt;directory&amp;quot;.
&lt;br&gt;&lt;br&gt;is it clear? As long as I've searched, this seems the normal behaviour
&lt;br&gt;of rsync, and I have nothing against it. I'm just trying to achieve my
&lt;br&gt;personal results either with a combination of options or in some other
&lt;br&gt;way (i.e. looking at rsync output with a bash script or whatever), or
&lt;br&gt;even asking here if this can be implemented.
&lt;br&gt;&lt;br&gt;First question: if a --suffix-dir option can be implemented, the
&lt;br&gt;suffixed dirs will be exluded by --filter option? It should, as long as
&lt;br&gt;the directory is a file itself on unix systems, but I didn't tried it
&lt;br&gt;already.
&lt;br&gt;&lt;br&gt;Thanks for your replies.
&lt;br&gt;regards,
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Matteo 'Peach' Pescarin
&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://www.nabble.com/simple-incremental-backup-woes.-solutions--tp19292438p19329162.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19321630</id>
	<title>Re: simple incremental backup woes. solutions?</title>
	<published>2008-09-04T15:48:28Z</published>
	<updated>2008-09-04T15:48:28Z</updated>
	<author>
		<name>Matt McCutchen-7</name>
	</author>
	<content type="html">On Wed, 2008-09-03 at 17:59 +0200, The Peach wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;I've finally hit rsync limit. As someone already addressed the
&lt;br&gt;&amp;gt; problem in this list the problem regards the impossibility for rsync
&lt;br&gt;&amp;gt; to rename directories.
&lt;br&gt;&amp;gt; The situation is as follow:
&lt;br&gt;&amp;gt; every night I backup my samba dir with this command:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; rsync -ab --suffix=-`date +%F-%H%M` --filter=&amp;quot;protect *-[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9][0-9][0-9][0-9]&amp;quot; --delete --numeric-ids --stats -h /home/samba/ /mnt/usbdisk
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; as you can see, I simply rename the files deleted with the date
&lt;br&gt;&amp;gt; they've been found deleted, hence providing a protect filter for the
&lt;br&gt;&amp;gt; files with a date at the end (as you might imagine the machine serves
&lt;br&gt;&amp;gt; windows clients).
&lt;br&gt;&amp;gt; Obviously (!) when a directory is deleted on the source dir, all the
&lt;br&gt;&amp;gt; files in the destination will be renamed, but the dir will not, and
&lt;br&gt;&amp;gt; rsync tries to delete it ending with a &amp;quot;cannot delete a non-empty
&lt;br&gt;&amp;gt; dir&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm asking here because I need even a dirty solution to this problem.
&lt;/div&gt;&lt;/div&gt;It's not clear to me what the problem is, since the &amp;quot;cannot delete a
&lt;br&gt;non-empty dir&amp;quot; message is pretty harmless. &amp;nbsp;Do you want the directories
&lt;br&gt;to be renamed? &amp;nbsp;If so, should the individual files inside be renamed
&lt;br&gt;too? &amp;nbsp;A naive implementation of either behavior that works in the
&lt;br&gt;absence of nonperishable protect filters would be quite easy. &amp;nbsp;Note that
&lt;br&gt;the current behavior has the advantage or disadvantage (depending on
&lt;br&gt;your point of view) that all versions of the file at a given path are
&lt;br&gt;kept together even if an ancestor directory is deleted and recreated.
&lt;br&gt;&lt;br&gt;Matt
&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;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/19321630/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/simple-incremental-backup-woes.-solutions--tp19292438p19321630.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19320073</id>
	<title>Rsync 3.0.3 with  patches on OS X 10.4.11 fails to copy ACLs</title>
	<published>2008-09-04T14:11:17Z</published>
	<updated>2008-09-04T14:11:17Z</updated>
	<author>
		<name>Carney Mimms</name>
	</author>
	<content type="html">I am using rsync 3.0.3 to copy a remote RAID volume on one Xserve to the
&lt;br&gt;local RAID volume on an other Xserve. Both Xserves are running OS X Server
&lt;br&gt;10.4.11.
&lt;br&gt;I have compiled rsync 3.0.3 on both machines and patched it following Mike
&lt;br&gt;Bombich's instructions at &lt;a href=&quot;http://www.bombich.com/mactips/rsync.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bombich.com/mactips/rsync.html&lt;/a&gt;&lt;br&gt;After some struggles, and with invaluable help from the list, I how have an
&lt;br&gt;rsync script running to completion but it generates log errors, I think for
&lt;br&gt;every file, and fails to copy ACLS, even though the ACL flag for Macs is set
&lt;br&gt;as shown in the OPTS variable in my backup script:
&lt;br&gt;&lt;br&gt;OPTS=(-aAX --delete --archive --rsync-path=/usr/local/bin/rsync
&lt;br&gt;--protect-args --fileflags --force-change)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Some sample error log entries are:
&lt;br&gt;&lt;br&gt;rsync: set_acl: sys_acl_set_file(SN3201128/.Share Your Images.url.g4bMCP,
&lt;br&gt;ACL_TYPE_EXTENDED): Operation not supported (45)
&lt;br&gt;rsync: set_acl: sys_acl_set_file(SN3201128/.Warez Home.url.WxglUO,
&lt;br&gt;ACL_TYPE_EXTENDED): Operation not supported (45)
&lt;br&gt;rsync: set_acl: 
&lt;br&gt;sys_acl_set_file(SN3201128/Steinberg_Nuendo_v3.2.0.1128/.Steinberg.Nuendo.ex
&lt;br&gt;e.i2w172, ACL_TYPE_EXTENDED): Operation not supported (45)
&lt;br&gt;&lt;br&gt;I saw similar errors when I was running Carbon Copy Cloner on the same
&lt;br&gt;volumes, which also uses rsync 3.0.3 and was informed that in some cases
&lt;br&gt;these are only log artifacts and not real errors. In this case, however, I
&lt;br&gt;have checked and ACLs do not seem to be preserved in the copies.
&lt;br&gt;&lt;br&gt;I know ACL support for Mac has been problematical until recently, but can
&lt;br&gt;anyone suggest troubleshooting steps I might take to try to fix the ACL
&lt;br&gt;problem. I an certainly supply the entire rsync script and entire log
&lt;br&gt;contents if that will help.
&lt;br&gt;&lt;br&gt;Thank you,
&lt;br&gt;&lt;br&gt;--Carney Mimms
&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://www.nabble.com/Rsync-3.0.3-with--patches-on-OS-X-10.4.11-fails-to-copy-ACLs-tp19320073p19320073.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19315304</id>
	<title>Re: Moved files</title>
	<published>2008-09-04T10:06:11Z</published>
	<updated>2008-09-04T10:06:11Z</updated>
	<author>
		<name>Matt McCutchen-7</name>
	</author>
	<content type="html">On Thu, 2008-09-04 at 17:52 +0200, Julian Pace Ross wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Is it possible to perform the following for moved files (i.e. files that 
&lt;br&gt;&amp;gt; already exist on destination, but are moved into a different or new dir on 
&lt;br&gt;&amp;gt; the source):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - generate filelist including deleted files (without deleting)
&lt;br&gt;&amp;gt; - during transfer, for each *new* file, check against above list for 
&lt;br&gt;&amp;gt; deletions.
&lt;br&gt;&amp;gt; - If there is a match, and size is similar, try using that file as a basis 
&lt;br&gt;&amp;gt; for transfer.
&lt;br&gt;&amp;gt; - finally delete all... (like --delete-after)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; All this would be sort of related to the --fuzzy option, but for moved files 
&lt;br&gt;&amp;gt; instead of renamed. This would be especially useful for scripts that deal 
&lt;br&gt;&amp;gt; with a few large files that sometimes change place, are dumped into archive 
&lt;br&gt;&amp;gt; dirs etc...
&lt;/div&gt;&lt;/div&gt;The --detect-renamed option added by detect-renamed.diff does
&lt;br&gt;essentially this, except that it checks each deleted file against the
&lt;br&gt;list of new files rather than vice versa. &amp;nbsp;This technique was probably
&lt;br&gt;easier to implement before incremental recursion because a full list of
&lt;br&gt;the source was available, but it fails for moves into directories that
&lt;br&gt;haven't yet been created and doesn't extend nicely to detecting copies.
&lt;br&gt;&lt;br&gt;I would like to have an implementation that checks each new file against
&lt;br&gt;the list of existing destination files; I'm not sure whether it would be
&lt;br&gt;better to generate the list first (as you described) or postpone new
&lt;br&gt;transfers to a second pass after the whole destination is scanned (as
&lt;br&gt;the current implementation does). &amp;nbsp;Neither technique would interfere
&lt;br&gt;with the use of incremental recursion on the source.
&lt;br&gt;&lt;br&gt;Matt
&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;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/19315304/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/simple-incremental-backup-woes.-solutions--tp19292438p19315304.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19313921</id>
	<title>Re: rsync with --backup</title>
	<published>2008-09-04T09:01:42Z</published>
	<updated>2008-09-04T09:01:42Z</updated>
	<author>
		<name>Matt McCutchen-7</name>
	</author>
	<content type="html">On Thu, 2008-09-04 at 13:46 +0300, Paul -Spawn- Rysevets wrote: 
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; here is the deal: we have an ant-script.. that uses rsync to
&lt;br&gt;&amp;gt; update our server's files.. i.e. patch-script
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;and request is.. to save files, that are updated...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;and when the patch-script is run again (like, the same one)
&lt;br&gt;&amp;gt; back-ups must not be overwritten.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;in rsync i've found --backup and --backup-dir...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;but the thing is.. that i need to store backups on local station
&lt;br&gt;&amp;gt; (it is simplier to me),
&lt;br&gt;&amp;gt; not on the receiving side... (as backup-dir option tries to do)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;giving --filter='Pp *~' after --backup-dir gives me
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;--filter=Pp *~: unknown option
&lt;/div&gt;&lt;/div&gt;Rsync 2.6.3 is too old to understand that option, but in any event, it
&lt;br&gt;would only protect backups from deletion, not from overwriting if the
&lt;br&gt;same destination file is updated again.
&lt;br&gt;&lt;br&gt;&amp;gt; and
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;--backup-dir='user@host1:/path/to/backupdir/' /local/path/ user@host2:/remote/path/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;gives no results.. files are updated, but no backups .. (&amp;quot;user&amp;quot;
&lt;br&gt;&amp;gt; are the same on both servers)
&lt;br&gt;&lt;br&gt;You have to pass --backup too. &amp;nbsp;--backup-dir does not by itself enable
&lt;br&gt;backups; it only modifies the behavior of backups. &amp;nbsp;In addition,
&lt;br&gt;--backup-dir only supports a directory on the receiver; it cannot send
&lt;br&gt;backups back to the sender.
&lt;br&gt;&lt;br&gt;&amp;gt; i could try to store back ups on host2, then tar them and the copy
&lt;br&gt;&amp;gt; them back to host1...
&lt;br&gt;&lt;br&gt;This is what I would do, except I would use rsync instead of tar to pull
&lt;br&gt;the backups. &amp;nbsp;For example:
&lt;br&gt;&lt;br&gt;DATE=$(date +%Y%m%d)
&lt;br&gt;rsync -a --backup --backup-dir=/remote/backups/$DATE/ \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /local/path/ user@host2:/remote/path/
&lt;br&gt;rsync -a user@host2:/remote/backups/$DATE/ /local/backups/$DATE/
&lt;br&gt;&lt;br&gt;&amp;gt; or at first rsync modified file between two hosts to host1 (i.e. make
&lt;br&gt;&amp;gt; backup manually)
&lt;br&gt;&amp;gt; and then rsync to host2
&lt;br&gt;&lt;br&gt;That would also work. &amp;nbsp;If you like, you could have the second run apply
&lt;br&gt;a batch file written by the first run instead of rereading the source.
&lt;br&gt;&lt;br&gt;Matt
&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;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/19313921/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/rsync-with---backup-tp19308060p19313921.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19314051</id>
	<title>Moved files</title>
	<published>2008-09-04T08:52:44Z</published>
	<updated>2008-09-04T08:52:44Z</updated>
	<author>
		<name>Julian Pace Ross-3</name>
	</author>
	<content type="html">Not sure if this has ever been covered, but I can't seem to find anything on 
&lt;br&gt;Google:
&lt;br&gt;&lt;br&gt;Is it possible to perform the following for moved files (i.e. files that 
&lt;br&gt;already exist on destination, but are moved into a different or new dir on 
&lt;br&gt;the source):
&lt;br&gt;&lt;br&gt;- generate filelist including deleted files (without deleting)
&lt;br&gt;- during transfer, for each *new* file, check against above list for 
&lt;br&gt;deletions.
&lt;br&gt;- If there is a match, and size is similar, try using that file as a basis 
&lt;br&gt;for transfer.
&lt;br&gt;- finally delete all... (like --delete-after)
&lt;br&gt;&lt;br&gt;All this would be sort of related to the --fuzzy option, but for moved files 
&lt;br&gt;instead of renamed. This would be especially useful for scripts that deal 
&lt;br&gt;with a few large files that sometimes change place, are dumped into archive 
&lt;br&gt;dirs etc...
&lt;br&gt;&lt;br&gt;I'm not sure if this can already be done with some combination of options, 
&lt;br&gt;if not I think it would be a cool feature.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;Julian
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&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://www.nabble.com/simple-incremental-backup-woes.-solutions--tp19292438p19314051.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19308060</id>
	<title>rsync with --backup</title>
	<published>2008-09-04T03:46:28Z</published>
	<updated>2008-09-04T03:46:28Z</updated>
	<author>
		<name>Paul -Spawn- Rysevets</name>
	</author>
	<content type="html">Hello Guys,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;i'm new to rsync.. and i have a request to fix some things(not
&lt;br&gt;related to rsync)... and i could not find and good-for-me examples on
&lt;br&gt;the net..
&lt;br&gt;&amp;nbsp; &amp;nbsp;here is the deal: we have an ant-script.. that uses rsync to
&lt;br&gt;update our server's files.. i.e. patch-script
&lt;br&gt;&amp;nbsp; &amp;nbsp;and request is.. to save files, that are updated...
&lt;br&gt;&amp;nbsp; &amp;nbsp;and when the patch-script is run again (like, the same one)
&lt;br&gt;back-ups must not be overwritten.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;in rsync i've found --backup and --backup-dir...
&lt;br&gt;&amp;nbsp; &amp;nbsp;but the thing is.. that i need to store backups on local station
&lt;br&gt;(it is simplier to me),
&lt;br&gt;not on the receiving side... (as backup-dir option tries to do)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;giving --filter='Pp *~' after --backup-dir gives me
&lt;br&gt;&amp;nbsp; &amp;nbsp;--filter=Pp *~: unknown option
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;and
&lt;br&gt;&amp;nbsp; &amp;nbsp;--backup-dir='user@host1:/path/to/backupdir/' /local/path/ user@host2:/remote/path/
&lt;br&gt;&amp;nbsp; &amp;nbsp;gives no results.. files are updated, but no backups .. (&amp;quot;user&amp;quot;
&lt;br&gt;are the same on both servers)
&lt;br&gt;&lt;br&gt;i could try to store back ups on host2, then tar them and the copy
&lt;br&gt;them back to host1...
&lt;br&gt;&lt;br&gt;or at first rsync modified file between two hosts to host1 (i.e. make
&lt;br&gt;backup manually)
&lt;br&gt;and then rsync to host2
&lt;br&gt;&lt;br&gt;any ideas?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;version of rsync is 2.6.3 v 28 (and i can not change it.)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Best regards,
&lt;br&gt;&amp;nbsp;Paul 'Spawn' Rysevets &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19308060&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;P.Rysevets@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp;SpAwN_gUy.aka.WAREZMasta &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19308060&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;WAREZMasta@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp;ICQ:968978 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SKYPE-ID: spawn_guy
&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://www.nabble.com/rsync-with---backup-tp19308060p19308060.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19300026</id>
	<title>DO NOT REPLY [Bug 5732] xattrs.test calls wrong rsync</title>
	<published>2008-09-03T16:02:19Z</published>
	<updated>2008-09-03T16:02:19Z</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=5732&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=5732&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19300026&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wayned@...&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;Status|NEW &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |RESOLVED
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Resolution| &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;|FIXED
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Comment #1 from &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19300026&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wayned@...&lt;/a&gt; &amp;nbsp;2008-09-03 18:02 CST -------
&lt;br&gt;Thanks for pointing that out. &amp;nbsp;I checked in your fix earlier today.
&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://www.nabble.com/DO-NOT-REPLY--Bug-5732---New%3A-xattrs.test-calls-wrong-rsync-tp19290583p19300026.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19292438</id>
	<title>simple incremental backup woes. solutions?</title>
	<published>2008-09-03T08:59:31Z</published>
	<updated>2008-09-03T08:59:31Z</updated>
	<author>
		<name>The Peach</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&amp;nbsp;I've finally hit rsync limit. As someone already addressed the problem in this list the problem regards the impossibility for rsync to rename directories.
&lt;br&gt;The situation is as follow:
&lt;br&gt;every night I backup my samba dir with this command:
&lt;br&gt;&lt;br&gt;rsync -ab --suffix=-`date +%F-%H%M` --filter=&amp;quot;protect *-[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9][0-9][0-9][0-9]&amp;quot; --delete --numeric-ids --stats -h /home/samba/ /mnt/usbdisk
&lt;br&gt;&lt;br&gt;as you can see, I simply rename the files deleted with the date they've been found deleted, hence providing a protect filter for the files with a date at the end (as you might imagine the machine serves windows clients).
&lt;br&gt;Obviously (!) when a directory is deleted on the source dir, all the files in the destination will be renamed, but the dir will not, and rsync tries to delete it ending with a &amp;quot;cannot delete a non-empty dir&amp;quot;.
&lt;br&gt;&lt;br&gt;I'm asking here because I need even a dirty solution to this problem.
&lt;br&gt;I've been addressed to rsnapshot, but seems hard to replicate the same backup type I've setup, so I gave it up.
&lt;br&gt;&lt;br&gt;Any suggestion, solutions and such will be very much appreciated.
&lt;br&gt;&lt;br&gt;Thank you in advance,
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Matteo 'Peach' Pescarin
&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://www.nabble.com/simple-incremental-backup-woes.-solutions--tp19292438p19292438.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19292270</id>
	<title>rsync-3.0.3 crashes with protection exception</title>
	<published>2008-09-03T08:56:53Z</published>
	<updated>2008-09-03T08:56:53Z</updated>
	<author>
		<name>Jan Thielmann</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm new to rsync and currently installing rsync-3.0.3 to a OS/390 Unix System Services environment. The build process runs fine and does not produce errors. But if I test the program, it crashes everytime with a protection exception. rsync-2.6.9 was running fine!
&lt;br&gt;&lt;br&gt;I can't figure out why exactly it crashes. I hope that someone on this list can give me a hint on that.
&lt;br&gt;&lt;br&gt;This is the debug output (appeared when I tried to copy a local directory to another location):
&lt;br&gt;&lt;br&gt;FDBX0302: calling f_name(f = 0x1EA94000, fbuf = &amp;quot;.s.-.~~q.s.-.~~..~~.&amp;quot;) from function send_file_name
&lt;br&gt;FDBX0303: returning &amp;lt;no value&amp;gt; from f_name
&lt;br&gt;FDBX0302: calling f_name(f = 0x1EA93FC8, fbuf = &amp;quot;&amp;quot;) from function send_file_name
&lt;br&gt;FDBX0303: returning &amp;lt;no value&amp;gt; from f_name
&lt;br&gt;FDBX0302: calling f_name(f = 0x1EA93F90, fbuf = &amp;quot;open&amp;quot;) from function send_file_name
&lt;br&gt;FDBX0303: returning &amp;lt;no value&amp;gt; from f_name
&lt;br&gt;FDBX0302: calling f_name(f = 0x1EA93F50, fbuf = &amp;quot;zlib&amp;quot;) from function send_file_name
&lt;br&gt;FDBX0303: returning &amp;lt;no value&amp;gt; from f_name
&lt;br&gt;FDBX0302: calling f_name(f = 0x1EAF5FF4, fbuf = &amp;quot;open&amp;quot;) from function send_file_name
&lt;br&gt;FDBX0303: returning &amp;lt;no value&amp;gt; from f_name
&lt;br&gt;delta-transmission disabled for local transfer or --whole-file
&lt;br&gt;CEE3204S The system detected a protection exception (System Completion Code=0C4).
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;From entry point f_name at statement 2865 at compile unit offset +00000076 at entry offset +00000076 at address
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1E83F1FE.
&lt;br&gt;rsync: connection unexpectedly closed (9 bytes received so far) [sender]
&lt;br&gt;rsync error: error in rsync protocol data stream (code 12) at ./io.c(635) [sender=3.0.3]
&lt;br&gt;FDBX0414: Program exited with a return code of 12.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Any comment or hint would be helpful!
&lt;br&gt;&lt;br&gt;Thanks a lot!
&lt;br&gt;Jan
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
&lt;br&gt;&lt;a href=&quot;http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196&lt;/a&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://www.nabble.com/rsync-3.0.3-crashes-with-protection-exception-tp19292270p19292270.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19290583</id>
	<title>DO NOT REPLY [Bug 5732]  New: xattrs.test calls wrong rsync</title>
	<published>2008-09-03T07:35:18Z</published>
	<updated>2008-09-03T07:35:18Z</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=5732&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=5732&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: xattrs.test calls wrong rsync
&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.0.4
&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: 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: normal
&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://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19290583&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://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19290583&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;petr.uzel@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;QAContact: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19290583&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;In rsync 3.0.4pre2, the xattrs.test at some places does not call rsync as
&lt;br&gt;$RSYNC, but simply as rsync, which causes that :
&lt;br&gt;1) the test fails on systems where rsync is not installed
&lt;br&gt;2) it tests wrong binary (/usr/bin/rsync)
&lt;br&gt;&lt;br&gt;Following patch fixes the problem:
&lt;br&gt;&lt;br&gt;&amp;gt;From 844bdb5d32afe8ea7e59d0ea0c5dc9ce688c69d7 Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Petr Uzel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19290583&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;petr.uzel@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Wed, 3 Sep 2008 16:12:31 +0200
&lt;br&gt;Subject: [PATCH] Fix xattrs.test - use $RSYNC instead of plain rsync
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;testsuite/xattrs.test | &amp;nbsp; 10 +++++-----
&lt;br&gt;&amp;nbsp;1 files changed, 5 insertions(+), 5 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/testsuite/xattrs.test b/testsuite/xattrs.test
&lt;br&gt;index 86758fa..8b40eec 100644
&lt;br&gt;--- a/testsuite/xattrs.test
&lt;br&gt;+++ b/testsuite/xattrs.test
&lt;br&gt;@@ -116,10 +116,10 @@ fi
&lt;br&gt;&amp;nbsp;cd &amp;quot;$fromdir&amp;quot;
&lt;br&gt;&amp;nbsp;rm -rf &amp;quot;$todir&amp;quot; &amp;quot;$chkdir&amp;quot;
&lt;br&gt;&lt;br&gt;-rsync -aX file1 file2
&lt;br&gt;-rsync -aX file1 file2 ../chk/
&lt;br&gt;-rsync -aX --del ../chk/ .
&lt;br&gt;-rsync -aX file1 ../lnk/
&lt;br&gt;+$RSYNC -aX file1 file2
&lt;br&gt;+$RSYNC -aX file1 file2 ../chk/
&lt;br&gt;+$RSYNC -aX --del ../chk/ .
&lt;br&gt;+$RSYNC -aX file1 ../lnk/
&lt;br&gt;&lt;br&gt;&amp;nbsp;xls file1 file2 &amp;gt;&amp;quot;$scratchdir/xattrs.txt&amp;quot;
&lt;br&gt;&lt;br&gt;@@ -132,7 +132,7 @@ cd &amp;quot;$fromdir&amp;quot;
&lt;br&gt;&amp;nbsp;rm &amp;quot;$todir/file2&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp;echo extra &amp;gt;file1
&lt;br&gt;-rsync -aX . ../chk/
&lt;br&gt;+$RSYNC -aX . ../chk/
&lt;br&gt;&lt;br&gt;&amp;nbsp;checkit &amp;quot;$RSYNC -aiiX . ../to&amp;quot; &amp;quot;$chkdir&amp;quot; &amp;quot;$todir&amp;quot;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;1.5.4.5
&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://www.nabble.com/DO-NOT-REPLY--Bug-5732---New%3A-xattrs.test-calls-wrong-rsync-tp19290583p19290583.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19285687</id>
	<title>RE: Windows client</title>
	<published>2008-09-03T02:18:16Z</published>
	<updated>2008-09-03T02:18:16Z</updated>
	<author>
		<name>Stuart Halliday</name>
	</author>
	<content type="html">Google Cwrsync.
&lt;br&gt;V3 is there as well as a new experiment build of Cygwin 1.7 which finally
&lt;br&gt;supports long filenames/paths under ntfs and UTF-8 filenames at last!
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=69227&amp;package_id=68081&amp;release_id=615606&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/project/showfiles.php?group_id=69227&amp;package_id=68081&amp;release_id=615606&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Stuart Halliday
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &amp;quot;Brad Farrell&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19285687&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brad.farrell@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19285687&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rsync@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Fri, 15 Aug 2008 07:57:10 -0600
&lt;br&gt;Subject: RE: Windows client
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am using the current installation of cygwin on the server end and on
&lt;br&gt;&amp;gt; about
&lt;br&gt;&amp;gt; 30 client machines - appears to be a 2.x version of rsync. &amp;nbsp;All appears
&lt;br&gt;&amp;gt; to
&lt;br&gt;&amp;gt; be working fine with the exception of files in the 9GB+ range in size -
&lt;br&gt;&amp;gt; I
&lt;br&gt;&amp;gt; keep getting an error relating to the files not being the same - I
&lt;br&gt;&amp;gt; don't
&lt;br&gt;&amp;gt; have the exact message handy. &amp;nbsp;I've been looking for a windows version
&lt;br&gt;&amp;gt; of
&lt;br&gt;&amp;gt; rsync 3.x - probably have to compile it directly.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; B
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I know you guys hate questions like this, but has anyone had
&lt;br&gt;&amp;gt; experience
&lt;br&gt;&amp;gt; &amp;gt; with a particular Windows client they would endorse?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I need to sync some Windows boxen. &amp;nbsp;I'm just looking for someone to
&lt;br&gt;&amp;gt; &amp;gt; tell 
&lt;br&gt;&amp;gt; &amp;gt; me they're using X and happy.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This email is the property of ECS Technology Ltd.
&lt;br&gt;&amp;gt; This company is registered in Scotland with company number 212513. 
&lt;br&gt;&amp;gt; VAT registered GB 761 7456 12 &amp;nbsp;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.ecs-tech.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ecs-tech.com/&lt;/a&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
&lt;br&gt;&amp;gt; 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;br&gt;&amp;gt; &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;br&gt;&amp;gt; No virus found in this incoming message.
&lt;br&gt;&amp;gt; Checked by AVG. 
&lt;br&gt;&amp;gt; Version: 7.5.524 / Virus Database: 270.6.2/1609 - Release Date:
&lt;br&gt;&amp;gt; 8/13/2008
&lt;br&gt;&amp;gt; 6:43 AM
&lt;br&gt;&amp;gt; &amp;nbsp;
&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
&lt;br&gt;&amp;gt; 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;br&gt;&amp;gt; &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;This email is the property of ECS Technology Ltd.
&lt;br&gt;This company is registered in Scotland with company number 212513. 
&lt;br&gt;VAT registered GB 761 7456 12 &amp;nbsp;
&lt;br&gt;&lt;a href=&quot;http://www.ecs-tech.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ecs-tech.com/&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://www.nabble.com/Windows-client-tp18962279p19285687.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19285587</id>
	<title>Re: recommend great GUI rsync client for XP</title>
	<published>2008-09-03T02:11:42Z</published>
	<updated>2008-09-03T02:11:42Z</updated>
	<author>
		<name>Stuart Halliday</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Take a look at NasBackup
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nasbackp.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nasbackp.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Opps.
&lt;br&gt;&lt;br&gt;I think you got that wrong.
&lt;br&gt;&lt;br&gt;Try &lt;a href=&quot;http://www.nasbackup.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nasbackup.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Has nasbackup added VSS support yet for backing up open files?
&lt;br&gt;&lt;br&gt;I've done this with rsync and a simple batch file. So should be trivial
&lt;br&gt;for you to do so?
&lt;br&gt;I've put a copy on my site:
&lt;br&gt;I use this to backup my Windows user profiles. Open files and all...
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.quantumsoft.co.uk/files/pc/save_profile.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.quantumsoft.co.uk/files/pc/save_profile.zip&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Stuart Halliday
&lt;br&gt;&lt;br&gt;&lt;br&gt;This email is the property of ECS Technology Ltd.
&lt;br&gt;This company is registered in Scotland with company number 212513. 
&lt;br&gt;VAT registered GB 761 7456 12 &amp;nbsp;
&lt;br&gt;&lt;a href=&quot;http://www.ecs-tech.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ecs-tech.com/&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://www.nabble.com/recommend-great-GUI-rsync-client-for-XP-tp18786204p19285587.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19281636</id>
	<title>Re: Strange sender log file characters</title>
	<published>2008-09-02T18:53:19Z</published>
	<updated>2008-09-02T18:53:19Z</updated>
	<author>
		<name>Simo Sorce</name>
	</author>
	<content type="html">On Tue, 2008-09-02 at 16:05 -0700, Wayne Davison wrote:
&lt;br&gt;&amp;gt; On Tue, Sep 02, 2008 at 09:11:22AM -0400, Simo Sorce wrote:
&lt;br&gt;&amp;gt; &amp;gt; The advantage of using a glibc function is that it uses the correct
&lt;br&gt;&amp;gt; &amp;gt; locale settings for the thousands separator and does not require
&lt;br&gt;&amp;gt; &amp;gt; guessing.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Rsync has to be able to run on systems that don't use glibc, so I
&lt;br&gt;&amp;gt; decided not to use that feature. &amp;nbsp;Rsync doesn't even output 64-bit
&lt;br&gt;&amp;gt; numbers using printf() since the flag character for such a large
&lt;br&gt;&amp;gt; value is not standardized.
&lt;br&gt;&lt;br&gt;In samba we detect the features of the system [s[n]]printf() and replace
&lt;br&gt;it with our own if it does not meet all requirements, maybe we can get
&lt;br&gt;that code and use it in rsync too ?
&lt;br&gt;&lt;br&gt;Simo.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simo Sorce * Red Hat, Inc * New York
&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://www.nabble.com/Strange-sender-log-file-characters-tp19231243p19281636.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19280119</id>
	<title>Re: Strange sender log file characters</title>
	<published>2008-09-02T16:05:53Z</published>
	<updated>2008-09-02T16:05:53Z</updated>
	<author>
		<name>Wayne Davison-2</name>
	</author>
	<content type="html">On Tue, Sep 02, 2008 at 09:11:22AM -0400, Simo Sorce wrote:
&lt;br&gt;&amp;gt; The advantage of using a glibc function is that it uses the correct
&lt;br&gt;&amp;gt; locale settings for the thousands separator and does not require
&lt;br&gt;&amp;gt; guessing.
&lt;br&gt;&lt;br&gt;Rsync has to be able to run on systems that don't use glibc, so I
&lt;br&gt;decided not to use that feature. &amp;nbsp;Rsync doesn't even output 64-bit
&lt;br&gt;numbers using printf() since the flag character for such a large
&lt;br&gt;value is not standardized.
&lt;br&gt;&lt;br&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;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Strange-sender-log-file-characters-tp19231243p19280119.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19270020</id>
	<title>Re: Strange sender log file characters</title>
	<published>2008-09-02T06:11:22Z</published>
	<updated>2008-09-02T06:11:22Z</updated>
	<author>
		<name>Simo Sorce</name>
	</author>
	<content type="html">On Mon, 2008-09-01 at 13:31 -0700, Wayne Davison wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, Aug 31, 2008 at 10:44:11PM -0400, Matt McCutchen wrote:
&lt;br&gt;&amp;gt; &amp;gt; Wayne, you might want to consider applying this even though the
&lt;br&gt;&amp;gt; &amp;gt; immediate problem is solved.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yeah, I had noticed that lack-of-negative number-handling deficiency
&lt;br&gt;&amp;gt; when I was working on an enhancement for 3.1.0 to output numbers in
&lt;br&gt;&amp;gt; 3-digit clusters (e.g. 1,234,567). &amp;nbsp;I hadn't thought that I needed
&lt;br&gt;&amp;gt; special handling of INT_MIN, though, so I fixed that. &amp;nbsp;I've gone ahead
&lt;br&gt;&amp;gt; and committed my enhancement to the 3.1.0 branch, and ported that
&lt;br&gt;&amp;gt; improved negation fix from the trunk to the 3.0.x branch.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm interesting in what folks think about my making the outputting of
&lt;br&gt;&amp;gt; clustered numbers the default for 3.1.0 (see the --human-readable option
&lt;br&gt;&amp;gt; in the 3.1.0 manpage for a full discussion of how it works and is
&lt;br&gt;&amp;gt; overridden). &amp;nbsp;The code attempts to intuit if it should use a comma or a
&lt;br&gt;&amp;gt; period for the 3-digit clustering based on if sprintf() puts a period or
&lt;br&gt;&amp;gt; a comma into a floating point number.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ..wayne..
&lt;/div&gt;&lt;br&gt;Reading the snprintf manpage (at least on Linux). It seem you don't have
&lt;br&gt;to meka eany special manipulation to get the thousands separator but
&lt;br&gt;just use the &amp;quot;'&amp;quot; modifer:
&lt;br&gt;&lt;br&gt;&amp;nbsp; The five flag characters above are defined in the C standard. The
&lt;br&gt;&amp;nbsp; SUSv2 specifies one further flag character.
&lt;br&gt;&lt;br&gt;&amp;nbsp; ’ &amp;nbsp;For decimal conversion (i, d, u, f, F, g, G) the output is to be
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;grouped with thousands’ grouping characters if the locale infor-
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;mation &amp;nbsp;indicates any. &amp;nbsp;Note that many versions of gcc(1) cannot
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;parse this option and will issue &amp;nbsp;a &amp;nbsp;warning. &amp;nbsp; SUSv2 &amp;nbsp;does &amp;nbsp;not
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;include %’F.
&lt;br&gt;&lt;br&gt;&lt;br&gt;The advantage of using a glibc function is that it uses the correct
&lt;br&gt;locale settings for the thousands separator and does not require
&lt;br&gt;guessing.
&lt;br&gt;&lt;br&gt;Simo.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simo Sorce * Red Hat, Inc * New York
&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://www.nabble.com/Strange-sender-log-file-characters-tp19231243p19270020.html" />
</entry>

</feed>
