Wednesday, June 3, 2015

Hard Link In Rsync

I've been struggling for a few days trying to backup a folder using rsync. The folder is huge but there should be enough space on the destination server. But everytime I did a backup it never finish because the hard disk is full. It seems like the destination folder became bigger than the source folder after using rsync. After much googling, I found out that it might be because of the way rsync handles hard links (which is it creates a new file for each link). Refer to Directory backed up with rsync is much bigger than source . So finally to do the backup properly, the command I had to use was:

rsync -H -a -vv -z -e 'ssh'

Is Blogging No Longer a Thing?

As I embark on my new journey to learn the Rust programming language, I find myself pondering—where have all the blogs gone? In search of pr...