rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Chinese characters in filenames on Cygwin + Win


From: Kevin Horton
Subject: Re: [rdiff-backup-users] Chinese characters in filenames on Cygwin + Win XP
Date: Sun, 7 Jan 2007 14:17:56 -0500

I'm not sure you should use the --override-chars-to-quote switch. The default behaviour is there to protect files from overwriting each other on file systems that have issues with the case of file names. The file names are supposed to be recreated in their original form during a restore, so this is only a cosmetic issue.

If you do use the --override-chars-to-quote switch, do a test along the lines of:

create file with name like: File_Name.txt

Do a backup

Delete file: File_Name.txt, and replace it with file_name.txt, with different content.

Do another backup.

Try restoring file_name.txt. Check the file content to see which version it is.

Try restoring File_Name.txt. Check the file content to see which version it is.

Let us know what you learn.

Kevin Horton


On 7 Jan 2007, at 12:34, Qiqi Yan wrote:

Hi roland,

Thank you very much for the reply.
From that post, the answer is the --override-chars-to-quote switch (which is not in the man page, possibly because i'm using 1.1.5). So I wrote:

rdiff-backup --override-chars-to-quote true /cygdrive/e/test / cygdrive/e/backup

(is this the right command?)

Unfortunately, the following exception shows up:

Exception '[Errno 2] No such file or directory: '/cygdrive/e/backup/ rdiff-backup -data/fil;101_s;116a;116is;116ics.2007-01-08T00:54:41+08:00.da; 116a.gz'' raised
of class 'exceptions.IOError':
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 295, in err
or_check_Main
    try: Main(arglist)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 315, in Mai
n
..
..(it's very long)
..

What's wrong? I noticed the semicolons in the file name mentioned in the message, which I guess is the cause. (semicolons are not allowed in MS windows.) Do they appear because of --override-chars- to-quote? Any way to get around it?

I've little experience with cygwin or linux. Hope I've been clear enough.

Thanks again!

Best,
Qiqi

----- Original Message -----
From: <address@hidden>
To: <address@hidden>; "Qiqi Yan" <address@hidden>
Sent: Sunday, January 07, 2007 11:49 PM
Subject: Re: [rdiff-backup-users] Chinese characters in filenames on Cygwin + Win XP


Quqi,

just go to the mailinglist archive and look into some posts just before this one - there was just some other person asking for this some days ago.
it`s a feature!

regards
roland


-----Ursprüngliche Nachricht-----
Von: Qiqi Yan <address@hidden>
Gesendet: 07.01.07 16:47:07
An: <address@hidden>
Betreff: [rdiff-backup-users] Chinese characters in filenames on Cygwin + Win XP


Hi all,

I am new to rdiff-backup, whose idea is attractive to me. So I just installed rdiff-backup on my Cygwin + Win XP. But when I tried to backup a file with Chinese characters in filename, in the backup dir, its filename became like ";195;164;201;243.htm".

How can I resolve this? This happens on both NTFS and FAT32. I wonder if it is related to the "Extended file name" test, which is false on my computer.

Thanks!

Qiqi Yan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]