I have been trying to use rsyncx to generate a script for rotating backups but it seems to me that the --link-dest option doesn't work properly in my configuration. Instead of creating hard links for all unchanged files it seems that rsync copies everything, as if --link-dest hasn't been specificed. Can somebody clarify what's going on? My script is ptovided below: #rotating backup script - v1.0 rm -rf "/Volumes/Backups/Iteration.3" mv -f "/Volumes/Backups/Iteration.2" "/Volumes/Backups/Iteration.3" mv -f "/Volumes/Backups/Iteration.1" "/Volumes/Backups/Iteration.2" mv -f "/Volumes/Backups/Iteration.0" "/Volumes/Backups/Iteration.1" time /usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync -az --eahfs --showtogo --link-dest="/Volumes/Backups/Iteration.1/" "/Users/my_username" "/Volumes/Backups/Iteration.0/" THANKS IN ADVANCE, --Hadar
On Thu, Aug 12, 2004 at 04:23:23AM -0400, hadar@shemtov.com wrote:> it seems to me that the --link-dest option doesn't work properly in my > configuration. Instead of creating hard links for all unchanged files itIf the receiving rsync is not running as root, there was a bug in older versions that could cause a new copy to be made even if the file was unchanged (i.e. if the source file wasn't owned by the user running the receiving rsync). If that isn't your problem, talk to the rsyncx folks about it: rsyncxdev@umich.edu ..wayne..