[CentOS] use of hard links and diff in rsync

Sat Jan 12 15:43:05 UTC 2013
Les Mikesell <lesmikesell at gmail.com>

On Sat, Jan 12, 2013 at 3:46 AM, ken <gebser at mousecar.com> wrote:
> On 01/11/2013 07:08 PM Reindl Harald wrote:
>> ....
>> different versions of the backup
>> daily, weekly, monthly
> Ah, yes, in that kind of scenario hard links would be useful.

Backuppc does it by matching the content, so it can pool the duplicate
data even if the copies are found in different places or on different
backup targets.

>> unchanged files are replaced with hard-links
>> the destination files are virtually on the same place
> And so then could changes to a file be recorded in the daily version as
> a diff against the weekly?

I think rdiff-backup can save deltas.  Rsync itself and backuppc will
send deltas over the network but end up reconstructing a complete copy
of the target file even for small differences.   At least backuppc can
compress the resulting file for storage.

   Les Mikesell
     lesmikesell at gmail.com