|
Post by sh0dan on Apr 10, 2008 16:01:49 GMT 7
I would love an updated rsync module, so we can take advantage of the new 3.0 features.
Backing up to a windows box completely mangles non-latin characters, so I'd love to have a version that supports "--iconv".
Thanks!
|
|
Dave
New Member
Posts: 21
|
Post by Dave on Apr 10, 2008 18:01:28 GMT 7
Hi,
Are you sure that this isn't just Windows misbehaving? I've got Thai (tis-620 I think) encoded filenames that rsync just fine.
I'm driving the rsync from a CentOS 4.5 Linux box to copy data from the N5200B Pro to the CentOS box.
rsync on the Thecus is version 2.6.9 w/ protocol version 29 rsync on the CentOS is version 2.6.3 w/ protocol version 28
Doing an ls on the rsync'd files on the CentOS machine shows the filenames intact as Thai and that's even with an older version of rsync than the one on the Thecus.
Maybe there's a better rsync client available for Windows, or perhaps if you're driving the rsync from the Thecus, you could try driving it from the Windows PC?
|
|
|
Post by sh0dan on Apr 15, 2008 15:23:06 GMT 7
Filenames should be converted by rsync, when transferring between different OS'es. That is why the "--iconv" parameter was added to rsync v3. But --iconv need to be present at both sending and receiving end for it to work.
FYI, Rsync is currently driven from the windows machine, with the Thecus being server.
In theory I could rsync on the windows with an SMB-share as source and the local machine as destination.
But if compiling rsync v3 for the Thecus isn't a problem that would be much better, since windows events and shares doesn't mix that well.
|
|
|
Post by omega on Apr 15, 2008 18:20:02 GMT 7
Hi, not a big deal to update the RSYNC module.... if I would be at home.... I'm actually in China and I'm supposed to return in about 3 weeks. If time permits I'll provide a new version. Please remind me in case I've forgotten it completely... Andreas
|
|
|
Post by omega on May 15, 2008 22:08:19 GMT 7
Hi sh0dan, I've created a new version - see HEREHope this solves your problem.... Andreas
|
|
Aleon
New Member
Posts: 6
|
Post by Aleon on May 20, 2008 2:06:39 GMT 7
Many thanks to Andreas for this module! But there is 2 strange things with it:
1. Look at the time in log: When file operations starts, it changes=) (My time zone is Europe/Moscow and I use NTP server clock.isc.org) 2008/05/19 22:52:14 [8694] name lookup failed for 172.28.255.1: Name or service not known 2008/05/19 22:52:14 [8694] connect from UNKNOWN (172.28.255.1) 2008/05/19 22:52:14 [8694] rsync to ML/ from unknown (172.28.255.1) 2008/05/19 18:52:15 [8694] receiving file list 2008/05/19 18:52:15 [8694] ./ 2008/05/19 18:52:15 [8694] freeradius-server-2.0.1/ 2008/05/19 18:52:15 [8694] freeradius-server-2.0.1/debian/ 2008/05/19 18:52:15 [8694] freeradius-server-2.0.1/debian/patches/
2. How to get rid of these file-related lines in log? I'm getting the above lines with option "transfer logging = false".
Thanks!
|
|
|
Post by omega on May 20, 2008 6:04:48 GMT 7
What log file are you talking about?
I have no idea what to say about these two issues - please try to google about it or consider to ask at the rsync forum.... thanks.
Andreas
|
|