2008-06-17 Advanced Rsync Issues

So Iā€™m trying to use rsync to backup stuff on my various servers out there to my newly acquired external disks. Just in case the hosting providers are having backup issues. ;)

rsync

The source system is a GNU/Linux system using ext3, the target is a Mac using HFS+. That is, the target uses a slightly modified normal form D instead of normal form C UTF-8 , and the target is not case sensitive ā€“ it is case-preserving only. The mind recoils in fear!

ext3

HFS+

UTF-8

The first part of the problem is addressed in the rsync FAQ rsync recopies the same files:

rsync recopies the same files

rsync --archive --verbose --compress  --delete --delete-excluded \
--exclude '/org.emacswiki/logs' \
--iconv=UTF-8,UTF8-MAC \
aschroeder@thinkmo.de:/org/org.emacswiki thinkmo.de

Except:

rsync: --iconv=UTF-8,UTF8-MAC: unknown option

Oh no, here we go again... šŸ™

But now:

rsync: on remote machine: --iconv=UTF8-MAC: unknown option

Noooo!

ā€‹#Software ā€‹#Backup