[Digikam-users] what do you use for backups?

Chris Green cl at isbd.net
Tue Jun 7 11:57:31 BST 2016


bernhard <digikam at kilmann.net> wrote:
> [-- multipart/alternative, encoding 7bit, 125 lines --]
> 
>     [-- text/plain, encoding 7bit, charset: UTF-8, 58 lines --]
> 
>  
> 
> there is quite cool feature in rsync that allows you to sync your backup
> in a directory on you backup medium. Lets say you want to backup
> /pictures on your pc in directory /week01 on your usb disk. standard
> procedure is to do the next rsync against /week01 too which replace
> changed files. 
> 
> another option is to tell rsync to do the backup of /pictures to lets
> say /week02 but use /week01 as base. in that case rsync compares your
> files in /pictures against your files in /week01. If a file is not
> changed it created an hard link in /week02 pointing to the same file in
> /week01. if a file is deleted it will not show up in /week02 (but still
> in /week01). if a file has changed it is copied to /week02 while you can
> access the old version in /week01. So you can have several versions of
> your /pictures directory but you need only disk size from /pictures on
> your pc plus the space for files that change on every extra backup you
> do. for that you usb drive need to have a linux filesystem like ext4 to
> support hardlinks. 
> 
Yes, I use this rsync 'hard link' ability with a self-written Python
script to do incremental backups.  On my main desktop system I do
hourly and seven days of daily backups, these go onto a different
drive so at least will protect me from drive failure.  

The I do daily, weekly, monthly and yearly incremental backups to a
remote (well some hundred metres or so) system as well.

Using the rsync hard-link option means that only changes and new files
occupy space.

-- 
Chris Green
ยท




More information about the Digikam-users mailing list