Help with rsync using link-dest

view full story

http://www.unix.com – Hi, I'm trying to keep backups of my home directory (i.e. back it up every day or so) using rsync with link-dest. This is how I do it, Code: rsync -avh --delete --link-dest=/media/disk/oldbackup/ /home/user/ /media/disk/newbackup rm -f /media/disk/oldbackup ln -s newbackup /media/disk/oldbackup/ The problem is when I do this it seems to just copy my entire home directory again (as in every time I do a backup it copies everything again, rather I only want the changes to be copied and the others linked). It appears that I'm not creating hardlinks. What am I doing wrong? Thanks (HowTos)