rsync daemon: I want to use hardlinks on the rsync server side. Is this possible?
by framp from LinuxQuestions.org on (#5SXJC)
rsync supports to use hardlinks with the --link-dest option when data is copied locally. That way less files are copied, less disk space is used and the copy operation is faster.
I use this feature to backup some important data via nfs. Unfortunately ACLs are not supported. I read the rsync daemon allows to copy ACLs. I tested it and it works like a charm. But I also want to use hardlinks on the daemon side for my backups to reduce transfer time and space consumption. So I used the --link-dest option on the client side ("three" is a previous backup directory created with rsync, "four" should be the new backup which uses "three" for hardlinks)
sudo rsync -varAH --link-dest=rsync://framp@192.168.0.152/Rsync-Test/three . rsync://framp@192.168.0.152/Rsync-Test/four
but there are no hardlinks used on the daemon side from "four" pointing to "three". So either I use the wrong syntax to use hardlinks on the daemon side or it's just not supported by the daemon.
Would be great if somebody can help me to find the correct syntax if it's supported by the daemon.
I use this feature to backup some important data via nfs. Unfortunately ACLs are not supported. I read the rsync daemon allows to copy ACLs. I tested it and it works like a charm. But I also want to use hardlinks on the daemon side for my backups to reduce transfer time and space consumption. So I used the --link-dest option on the client side ("three" is a previous backup directory created with rsync, "four" should be the new backup which uses "three" for hardlinks)
sudo rsync -varAH --link-dest=rsync://framp@192.168.0.152/Rsync-Test/three . rsync://framp@192.168.0.152/Rsync-Test/four
but there are no hardlinks used on the daemon side from "four" pointing to "three". So either I use the wrong syntax to use hardlinks on the daemon side or it's just not supported by the daemon.
Would be great if somebody can help me to find the correct syntax if it's supported by the daemon.