rsync -H -a -vv -z -e 'ssh'
Blog by abdza. Open Source, Computers, Gadgets, Life, Love and everything in between.
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'
rsync -H -a -vv -z -e 'ssh'
Subscribe to:
Post Comments (Atom)
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...
-
My blogs' name is High-Tech Rojak but I don't recall ever talking about food. So here's a first. Just recently I got some free t...
-
Yesterday went to Low Yat to buy my cousin a sub RM 1500 notebook. Of course with that kind of price tag it would have to be a netbook jelah...
-
I have been suffering from sleep apnea for quite a few years already. It started to show when I was still with OSCC some 6 years back when I...
No comments:
Post a Comment