Tomasz writes:

> Craig Barratt wrote:
> > 
> > Rsync uses the native client charset coding (ie: it doesn't change 
> > anything).
> > On a windows machine that is typically cp1250.
> > 
> > BackupPC 3.0 uses utf8 on the server and can optionally translate
> > to/from the client charset coding by setting $Conf{ClientCharset},
> > eg:
> > 
> >     $Conf{ClientCharset} = 'cp1250';
> > 
> > In western europe you might need to use cp1252.
> > 
> > Unlike rsync, samba by default converts to/from utf8, so there is
> > no need to have BackupPC 3.0 do any conversion for smb.
> 
> Still, it doesn't work perfectly well for me.
> Windows machine is a 2003, German version. It mostly has filenames in 
> German, so setting ClientCharset to cp1252 works well for German characters.
> 
> There are also filenames written for example in Russian or Greek, or 
> some other languages not covered by "cp1252".
> In such cases, I get info that the "file has vanished", which is not 
> really true.
> 
> Is there a setting that will cover all languages?
> The files in question can be read just fine on the Windows 2003 server.

This is a long-standing issue in cygwin or WinXX, not related to BackupPC.

The problem is that the sequence of bytes returned when a directory is
read by rsync on cygwin don't allow you to open the file when you call
open() with that same sequence of bytes.  So rsync reports the file as
vanished, since it can't open it after reading the directory to get the
file name.

You can google for "file has vanished rsync cygwin".  One example thread
is:

    http://lists.samba.org/archive/rsync/2006-May/015411.html

Craig

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to