Question on --backup --backup-dir Switches For Incremental Backs

Wayne Davison wayned at
Tue Jan 30 15:41:54 GMT 2007

On Mon, Jan 29, 2007 at 04:56:16PM -0500, Matt McCutchen wrote:
> This approach won't work because rsync will skip a file if it is in
> the same state now as in any of the backups, not just the most recent
> one.  Thus, if I change a file and change it back, the fact that I
> changed it back would not be recorded.

You're right.  That means that the multi-option version of compare-dest
is not working as it should.  I need to change the code so that rsync
creates a new version anytime the most recent version of the file
differs from the sender's version (while letting the copy-dest and
link-dest continue to look for an exact match).


More information about the rsync mailing list