<div dir="ltr">Hello,<br><br>I use rsync (3.0.9) to make backups with the link-dest option, so that I keep daily folders, and I only upload the difference.<br><br>However, when a directory is moved somewhere else in the tree, it is fully re-uploaded.<br>
Same thing when files are simply renamed, they are re-uploaded, not linked.<br><br>First option could be to use --fuzzy twice (migrating to 3.1.0), but I think that it can be very IO intensive on receiver side, with 20 link-dest and hundreds of thousands of files in each link-dest.<br>
<br>Second option could be to use the db.diff patch on receiver side.<br><br>Several question then on this second option :<br>- Does this patch have to be compiled on both sides, or only on receiver side ?<br>- Can the db.diff patch work with link-dest option ?<br>
- How, like this ? If the file is not found in one of the link-dest (and only if), then, rsync will try to find it in the database, using its checksum ?<br>- Is the checksum the table key, to speed-up the research ?<br><br>
Is there any third option ?<br>I see many checksum / link-dest patches in rsync-patches-3.0.9.tar.gz, anything more efficient than db.diff ?<br><br>Thank you very much for your help,<br><br>Best regards,<br><br>Ben<br><br>
</div>