BackupPC-users

[BackupPC-users] rsync file list "myth"?

2014-05-15 17:55:24
Subject: [BackupPC-users] rsync file list "myth"?
From: Carl Cravens <ccravens AT excelii DOT com>
To: BackupPC Users <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 15 May 2014 16:54:03 -0500
> rsync will load the whole directory tree at both ends before starting
> to walk for the comparison

I keep seeing statements to this effect, but it hasn't been true for rsync 
defaults for years.  From the rsync manpage:

    Beginning with rsync 3.0.0, the recursive algorithm used is now an 
incremental scan that uses much less memory than before and begins the
    transfer  after  the  scanning  of the first few directories have been 
completed.  This incremental scan only affects our recursion algo‐
    rithm, and does not change a non-recursive transfer.  It is also only 
possible when both ends of the transfer are at least version 3.0.0.

3.0.0 was released in March of 2008.

--no-inc-recursive will turn this off, but I don't see that (or any flags that 
assume that) in the default configuration.

This algorithm does mean that hard-linked files may result in rsync 
transferring data that already exists on the target because it hasn't 
discovered the hard-link yet.

-- 
Carl D Cravens (ccravens AT excelii DOT com), Ext 228 (620.327.1228)
Lead System Architect

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>