<div dir="ltr">Hard links is what rsnapshot use as well to do incremental backup. <br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-07 12:57 GMT+02:00 Chris Green <span dir="ltr"><<a href="mailto:cl@isbd.net" target="_blank">cl@isbd.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">bernhard <<a href="mailto:digikam@kilmann.net">digikam@kilmann.net</a>> wrote:<br>
> [-- multipart/alternative, encoding 7bit, 125 lines --]<br>
><br>
> [-- text/plain, encoding 7bit, charset: UTF-8, 58 lines --]<br>
<span class="">><br>
><br>
><br>
> there is quite cool feature in rsync that allows you to sync your backup<br>
> in a directory on you backup medium. Lets say you want to backup<br>
> /pictures on your pc in directory /week01 on your usb disk. standard<br>
> procedure is to do the next rsync against /week01 too which replace<br>
> changed files.<br>
><br>
> another option is to tell rsync to do the backup of /pictures to lets<br>
> say /week02 but use /week01 as base. in that case rsync compares your<br>
> files in /pictures against your files in /week01. If a file is not<br>
> changed it created an hard link in /week02 pointing to the same file in<br>
> /week01. if a file is deleted it will not show up in /week02 (but still<br>
> in /week01). if a file has changed it is copied to /week02 while you can<br>
> access the old version in /week01. So you can have several versions of<br>
> your /pictures directory but you need only disk size from /pictures on<br>
> your pc plus the space for files that change on every extra backup you<br>
> do. for that you usb drive need to have a linux filesystem like ext4 to<br>
> support hardlinks.<br>
><br>
</span>Yes, I use this rsync 'hard link' ability with a self-written Python<br>
script to do incremental backups. On my main desktop system I do<br>
hourly and seven days of daily backups, these go onto a different<br>
drive so at least will protect me from drive failure.<br>
<br>
The I do daily, weekly, monthly and yearly incremental backups to a<br>
remote (well some hundred metres or so) system as well.<br>
<br>
Using the rsync hard-link option means that only changes and new files<br>
occupy space.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Chris Green<br>
·<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
</div></div></blockquote></div><br></div>