Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I'm trying to set up my DNS-323 as an rsync server, with backups coming from XP SP3 and OS X Leopard. For now I've got fun_plug 0.5 installed + ffp-base 0.5-1, rsyncd enabled and rsync on my XP machine (clinent from DeltaCopy 1.3, running it in command line). Now, it was all fine until I noticed that for file and folder names containing non-English characters, those got turned to underscores.
I'm running fw 1.05 (=utf8 DNS side), and NTFS on XP, so I was wondering why this would be happening in the first place... I reckoned since rsync is not a Unicode app perhaps it's using the local codepage specified under regional options in XP (which is iso8859-2). So I enabled iconv support serverside (adding "charset = utf8" in rsyncd.conf) and tried "--iconv=iso8859-2,utf8" option to rsync, but I'm getting the following error:
client side, XP
c:\Program Files\DeltaCopy>rsync -avz --delete --iconv=iso8859-2,utf8 /cygdrive/z/ mydns::docsbackup rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632) [sender=3.0.4]
server side, DNS
2009/02/28 17:10:51 [2692] connect from UNKNOWN (10.1.1.5) 2009/02/28 17:10:51 [2692] iconv_open("UTF-8", "utf8") failed 2009/02/28 17:10:51 [2692] rsync error: requested action not supported (code 4) at rsync.c(120) [receiver=3.0.2]
My server config as follows:
readonly = no list = yes gid = 501 charset = utf8 log file = /ffp/var/rsyncd.log [docsbackup] path = /mnt/HD_a2/dawid.net uid = dawid
I've been googling around for answers for the past few hours but still haven't found anything useful regarding incompatibility issues with fonz plug, rsync, or the rest of the universe. Will be most grateful for a few helpful tips or pointers (no 0x please ;-)
Offline
Ok, after a lot of googling again (couldn't sleep w/ this unresolved) I've identified the culprit: cygwin. I've now got cygwin1 from guys at OKI software that adds utf8 filename support to cygwin and my filenames are transferred correctly, wooohay! So if anyone is having similar issues, go to:
http://www.okisoft.co.jp/esc/utf8-cygwin/
download the dll, get a cake and smile at having just saved 5h of poking around :-)
Offline
Hm, have to ask you guys for help once more... What I can do in my batch file is:
rsync -avz --delete --delete-excluded --exclude-from=exclude.txt -e "ssh -l dawid -i %keypath%" %source% %destination%
However, I'm running into the good ol' iconv_open error as soon as I try to connect directly, w/o the ssh tunnel:
rsync -avz --delete --delete-excluded --exclude-from=exclude.txt %source% %destination%
From what others were saying the issue could stem from rsync opting to chroot (where to?) unless instructed otherwise. But I've tried specifying "use chroot = no" in rsyncd.conf to no avail. Here is my complete config:
readonly = no list = yes gid = 501 charset = utf8 log file = /ffp/var/rsyncd.log use chroot = no [dawid.back] path = /mnt/HD_a2/dawid.net uid = dawid charset = utf8
Anything jumps to mind? Would love to get this one solved, been on the todo list for about a year now!
Last edited by davidcie (2009-11-19 15:15:11)
Offline
One more thought: this time it shouldn't be the client that's at fault, as I get the exact same error when rsyncing from Leopard.
Offline