<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Beerensalat - rsync tag</title>
  <link>http://diario.beerensalat.info/tags/rsync/</link>
  <description>Ensalada mixta</description>
  <language>de</language>
  <copyright>Frank Behrens</copyright>
  <lastBuildDate>Wed, 22 Dec 2010 20:09:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  <image>
    <url>http://diario.beerensalat.info/fb32x32.png</url>
    <title>Beerensalat</title>
    <link>http://diario.beerensalat.info/</link>
  </image>
  
  
  <item>
    <title>new cygnative version 1.2 (for rsync + plink)</title>
    <link>http://diario.beerensalat.info/2009/08/18/new_cygnative_version_1_2_for_rsync_plink.html</link>
    
      
        <description>
          &lt;p&gt;
An anonymous user &lt;a href=&#034;http://diario.beerensalat.info/2009/07/10/rsync_does_work_with_plink_part_3.html#comment1250505341144&#034;&gt;reported&lt;/a&gt;
a problem with cygnative&#039;s command line truncation.&lt;/p&gt;
&lt;p&gt;I released the &lt;a 
href=&#034;http://diario.beerensalat.info/files/cygnative1.2.zip&#034;
&gt;new version 1.2&lt;/a&gt;, that should not have this
limitation.&lt;/p&gt;

        </description>
      
      
    
    
    
    <category>Technisches</category>
    
    <comments>http://diario.beerensalat.info/2009/08/18/new_cygnative_version_1_2_for_rsync_plink.html#comments</comments>
    <guid isPermaLink="true">http://diario.beerensalat.info/2009/08/18/new_cygnative_version_1_2_for_rsync_plink.html</guid>
    <pubDate>Tue, 18 Aug 2009 06:01:00 GMT</pubDate>
  </item>
  
  <item>
    <title>rsync does work with plink - part 3</title>
    <link>http://diario.beerensalat.info/2009/07/10/rsync_does_work_with_plink_part_3.html</link>
    
      
        <description>
          &lt;p&gt;&lt;b&gt;[Update]&lt;/b&gt;&lt;br&gt;
There is a &lt;a href=&#034;http://diario.beerensalat.info/2009/08/18/new_cygnative_version_1_2_for_rsync_plink.html&#034;&gt;newer version&lt;/a&gt;.&lt;br&gt;
&lt;b&gt;[/Update]&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Илья Басин observed a bug, possibly restricted to some cygwin versions. Спасибо - thanks for reporting and testing!
&lt;/p&gt;
&lt;p&gt;I published the &lt;a 
href=&#034;http://diario.beerensalat.info/files/cygnative1.1.zip&#034;&gt;new version 1.1&lt;/a&gt; with a workaround for this problem.&lt;/p&gt;
&lt;p&gt;The history is available at
&lt;a href=&#034;http://diario.beerensalat.info/tags/plink/&#034;&gt;http://diario.beerensalat.info/tags/plink/&lt;/a&gt;.&lt;/p&gt;

        </description>
      
      
    
    
    <enclosure url="http://diario.beerensalat.info/files/cygnative1.1.zip" length="6804" type="application/zip" />
    
    
    <category>Technisches</category>
    
    <comments>http://diario.beerensalat.info/2009/07/10/rsync_does_work_with_plink_part_3.html#comments</comments>
    <guid isPermaLink="true">http://diario.beerensalat.info/2009/07/10/rsync_does_work_with_plink_part_3.html</guid>
    <pubDate>Fri, 10 Jul 2009 06:01:00 GMT</pubDate>
  </item>
  
  <item>
    <title>rsync does work with plink - part 2</title>
    <link>http://diario.beerensalat.info/2009/03/12/rsync_does_work_with_plink_part_2.html</link>
    
      
        <description>
          
&lt;b class=&#034;bold&#034;&gt;&amp;#60;Update&amp;#62;&lt;/b&gt;&lt;br/&gt;
There is a &lt;span class=&#034;nobr&#034;&gt;&lt;a href=&#034;http://diario.beerensalat.info/2009/07/10/rsync_does_work_with_plink_part_3.html&#034;&gt;new version&lt;/a&gt;&lt;/span&gt; with a bugfix.&lt;br/&gt;
&lt;b class=&#034;bold&#034;&gt;&amp;#60;/Update&amp;#62;&lt;/b&gt;&lt;p class=&#034;paragraph&#034;/&gt;As I wrote in
&lt;span class=&#034;nobr&#034;&gt;&lt;a href=&#034;http://diario.beerensalat.info/2009/02/13/rsync_does_work_with_plink.html&#034;&gt;rsync does work with plink&lt;/a&gt;&lt;/span&gt; I tested a wrapper 
program to solve the &lt;b class=&#034;bold&#034;&gt;invalid handle&lt;/b&gt; problem.&lt;p class=&#034;paragraph&#034;/&gt;Now I make this program available (see &lt;i class=&#034;italic&#034;&gt;Anhang&lt;/i&gt;). You may
send me a note about your experiences or leave a comment here.&lt;p class=&#034;paragraph&#034;/&gt;&lt;i class=&#034;italic&#034;&gt;Cygnative.exe&lt;/i&gt; is a wrapper for cygwin programs which call native Win32
programs with stdin and/or stdout handle redirected. Without cygnative.exe it is possible that the native program can not read from the handle and receives a
&#034;invalid handle&#034; error.&lt;p class=&#034;paragraph&#034;/&gt;Usage: 
&lt;div class=&#034;code&#034;&gt;&lt;pre&gt;cygnative &amp;#60;nativeProgram&amp;#62; &amp;#91;args...&amp;#93;&lt;/pre&gt;&lt;/div&gt;&lt;p class=&#034;paragraph&#034;/&gt;Example with rsync and plink:
&lt;div class=&#034;code&#034;&gt;&lt;pre&gt;rsync &amp;#45;&amp;#45;blocking&amp;#45;io &amp;#45;e &#034;cygnative plink &amp;#45;batch&#034; &amp;#45;h &amp;#45;a &amp;#10;&amp;#45;&amp;#45;delete / user@server:/data2/backup/&lt;/pre&gt;&lt;/div&gt;&lt;p class=&#034;paragraph&#034;/&gt;


        </description>
      
      
    
    
    <enclosure url="http://diario.beerensalat.info/files/cygnative1.0.zip" length="6509" type="application/zip" />
    
    
    <category>Technisches</category>
    
    <comments>http://diario.beerensalat.info/2009/03/12/rsync_does_work_with_plink_part_2.html#comments</comments>
    <guid isPermaLink="true">http://diario.beerensalat.info/2009/03/12/rsync_does_work_with_plink_part_2.html</guid>
    <pubDate>Thu, 12 Mar 2009 20:51:48 GMT</pubDate>
  </item>
  
  <item>
    <title>rsync does work with plink</title>
    <link>http://diario.beerensalat.info/2009/02/13/rsync_does_work_with_plink.html</link>
    
      
        <description>
          
When I tried to use a tunnel via 
&lt;span class=&#034;nobr&#034;&gt;&lt;a href=&#034;http://www.chiark.greenend.org.uk/~sgtatham/putty/&#034;&gt;plink&lt;/a&gt;&lt;/span&gt; for  
&lt;span class=&#034;nobr&#034;&gt;&lt;a href=&#034;http://www.rsync.org&#034;&gt;rsync&lt;/a&gt;&lt;/span&gt;
I got the error:
&lt;div class=&#034;code&#034;&gt;&lt;pre&gt;Unable to read from standard input: The handle is invalid.
rsync: read error: Connection reset by peer (104)&lt;/pre&gt;&lt;/div&gt;
I wrote about the problem in
&lt;span class=&#034;nobr&#034;&gt;&lt;a href=&#034;http://diario.beerensalat.info/2009/01/13/rsync_does_not_work_with_plink.html&#034;&gt;rsync does not work with plink&lt;/a&gt;&lt;/span&gt;. Meanwhile I could investigate the problem. As mentioned in my previous blog entry the reason is an
incompatibility in stdin/stdout redirection between cygwin and native Win32 programs.&lt;p class=&#034;paragraph&#034;/&gt;To solve the problem I tried to use an other implementation
to spawn a program in &lt;i class=&#034;italic&#034;&gt;rsync&lt;/i&gt;. But this was not possible due to
cygwin file descriptor handling shortcomings. But I was able to write
a wrapper program for &lt;i class=&#034;italic&#034;&gt;rsync&lt;/i&gt;, that avoids the wrong 
descriptor handling.&lt;p class=&#034;paragraph&#034;/&gt;Now I&#039;m testing this wrapper, the results are promising to have a working solution.


        </description>
      
      
    
    
    
    <category>Technisches</category>
    
    <comments>http://diario.beerensalat.info/2009/02/13/rsync_does_work_with_plink.html#comments</comments>
    <guid isPermaLink="true">http://diario.beerensalat.info/2009/02/13/rsync_does_work_with_plink.html</guid>
    <pubDate>Fri, 13 Feb 2009 17:32:00 GMT</pubDate>
  </item>
  
  <item>
    <title>rsync, plink and zfs on FreeBSD</title>
    <link>http://diario.beerensalat.info/2009/01/14/rsync_plink_and_zfs_on_freebsd.html</link>
    
      
        <description>
          &lt;p&gt;I thought I can report some news for the 
&lt;a href=&#034;http://diario.beerensalat.info/2009/01/13/rsync_does_not_work_with_plink.html&#034;&gt;rsync/plink
problem&lt;/a&gt;, but I spent some time on debugging. The reason
was I did not realize that I walked into the
&lt;i&gt;zfs on FreeBSD&lt;/i&gt; trap.
&lt;/p&gt;
&lt;p&gt;I use a test partition with
&lt;a href=&#034;http://wiki.freebsd.org/ZFS&#034;&gt;zfs&lt;/a&gt; for backup purposes and did not see any problems until today. With
&lt;a href=&#034;http://rsync.samba.org/&#034;&gt;rsync&lt;/a&gt; the system
showed the often reported hangs. So I need to test on
an other partition. But there is hope to get rsync with plink running. :-)
&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>Technisches</category>
    
    <comments>http://diario.beerensalat.info/2009/01/14/rsync_plink_and_zfs_on_freebsd.html#comments</comments>
    <guid isPermaLink="true">http://diario.beerensalat.info/2009/01/14/rsync_plink_and_zfs_on_freebsd.html</guid>
    <pubDate>Wed, 14 Jan 2009 20:10:00 GMT</pubDate>
  </item>
  
  <item>
    <title>rsync does not work with plink</title>
    <link>http://diario.beerensalat.info/2009/01/13/rsync_does_not_work_with_plink.html</link>
    
      
      
        <description>
          rsync does not work with plink. It seems that there
is an incompatibility in stdin/stdout handle redirection.&lt;p&gt;&lt;a href=&#034;http://diario.beerensalat.info/2009/01/13/rsync_does_not_work_with_plink.html&#034;&gt;Mehr...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
    
    
    <category>Technisches</category>
    
    <comments>http://diario.beerensalat.info/2009/01/13/rsync_does_not_work_with_plink.html#comments</comments>
    <guid isPermaLink="true">http://diario.beerensalat.info/2009/01/13/rsync_does_not_work_with_plink.html</guid>
    <pubDate>Tue, 13 Jan 2009 18:32:00 GMT</pubDate>
  </item>
  
  </channel>
</rss>

