Feature request, or HowTo? State-full resume rsync transfer

Matthias Schniedermeyer ms at citd.de
Tue Jul 12 11:13:21 MDT 2011


On 12.07.2011 11:10, Donald Pearson wrote:

...

A 'trick' i personally use for an unreliable connection is an 
OpenSSH-Tunnel.

Altough any VPN-solution should to the trick.

That way the connection between the two rsync-halvs isn't directly tied 
to the internet-connection.

In my case that means that when the internet-connection drops the 
OpenSSH-Tunnel 'dies' (Assured/Expided by a relative low 
'ServerAliveInterval' & 'ClientAliveInterval') but as the rsync 
connection isn't directly tied to the internet-conncetion, Linux keeps 
that connction 'hanging'. After reconnecting the OpenSSH-Tunnel the 
rsync connection resumes when Linux realizes that the destination can be 
reached again.

This also abstracts away problems with Dynamic-IPs.





Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.



More information about the rsync mailing list