On Thu, Jul 30, 2009 at 11:33:10PM +0200, Jan Alphenaar wrote:
> Hi,
> 
> I was recently playing around with rsyncrypto and rsync and found
> some interesting behavior during one of my large file transfers.
> 
> This is the situation. After encrypting my large file
> (approximately 1GB), rsync starts copying this file to my server.
> Here is the rsync command used, I modified it a bit to make it
> easier to read. Note, the "partial" option is used. In case the
> transfer is interrupted, rsync leaves the partially transferred
> file on the server.
> 
> rsync -rlt -v --partial -e ssh Test.zip jan@<servername>:/data
> 
> Half way down I interrupt the transfer, the partially transferred
> file stays on the server as expected. In the next session the file
> is again encrypted with rsyncrypto. Then I start a new rsync copy
> of the file, expecting rsync would continue with the partially
> transferred file, but it does not, it starts over at the
> beginning. Lets call this case a.

If you let it keep going for a while, does the apparent speed (use
"-P" instead of partial and it'll do partial and show you the
progress) speed up a whole great big bunch?  I expect that it will.

IIRC, the first few blocks in an rsyncrypto encrypted file are
always different, but the rest of the file is the same.

-Robin

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Rsyncrypto-devel mailing list
Rsyncrypto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel

Reply via email to