Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I backup my windows box to FreeBSD/ZFS using rsync.

In windows I use cygwin/rsync client.

Works well enough. The problem is filenames with international character sets do not make it into backups.

Has anyone got this to work? There are problems at every step. Right now my cygwin doesn't seem to support UTF-8 (when you do ls, it shows those files as ????.ext).

For rsync I believe --iconv argument will need to be set.

How about ZFS? Is that Unicode compliant out of the box? Or how can I configure that?

Thanks.

share|improve this question
    
Are you using Cygwin 1.7? That does support UTF-8, and it actually defaults to it. –  ak2 Mar 1 '11 at 20:49

1 Answer 1

up vote 1 down vote accepted

I usually operate the other way around.

Mount a windows share on the FreeBSD box then run rsync locally between the mounted and backup folders. Seems to handle extended (even Japanese) characters ok.

share|improve this answer
    
Thanks. Do you use samba to mount the windows share? Any configuration required to make samba work with UTF-8? –  Budric Mar 1 '11 at 20:36
    
I use mount_smbfs to mount it locally (part of base installation): mount_smbfs //user@server/sharename /mountlocation /etc/nsmb.conf contains the authentication details. –  Majenko Mar 1 '11 at 20:38
    
Thanks I'll give it a try. –  Budric Mar 1 '11 at 20:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.