Hello, Jaime, the problem you are dealing with can be solved quite easily. The question is bacula-dir.conf must be written in utf-8. Later probably it will be transparent, but presently you have to do it yourself. I am French. If I write : File = c:/Photothèque/ It will not work. If I write File = c:/Potothèque/ it will be OK. But it is difficult to write like that. I don't know if the solution given by Arno is OK for you, there is another one : Just use an editor which can write utf-8. I use Scite (free). You have a menu File/encoding. Set it to utf8, and it will write in utf8. BUT there is an issue : if you save like that, it will prepend three characters to your file ( hex : EF BB BF) which is a code indicating it is utf-8. Very interesting, because if you open the file in notepad, notepad will write in utf-8 ! Unfortunately this does not work with Bacula, because it will report the following error : ERROR in ../../lib/parse_conf.c:804 Config error: Expected a Resource name identifier, got:  : line 1, col 3 of file C:\Documents and Settings\All Users\Application Data\Bacula\bacula-dir.conf Getting out of that is easy : just reset file/encoding in Scite to normal (8 bit) BEFORE you save your file. (Or reopen your file, reset and save again). 1) you will see the utf-8 codes appearing in your text 2) there will be no characters prepended and Bacula will be happy. And you also, I hope. Sincerely Dysmas -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Arno Lehmann Sent: Friday, October 27, 2006 2:30 AM To: Bacula Users Subject: Re: [Bacula-users] Special characters on Ms Windows filenames...Hi, On 10/26/2006 5:03 PM, Jaime Ventura wrote:Hello, On languages such as the Portuguese language there are "special characters" with accute accent or circumflex accent, such as ÃÁ ç (hope you see them correctly). When backing up windows files with filenames with characters such as those, bacula (?) translate the to different characters. For instance: On windows File System: C:\Documents and Settings\Administrator\My Documents\susana\backups\susana\serviço/susana\documentação\ Bacula(?) Translation: C:/Documents and Settings/Administrator/My Documents/susana/backups/susana/serviço/susana/documentação/ When I restore them, the filenames are correctly restored to their original name. So that means that bacula seems to handle correctly those characters. My problem is that I'm trying to set one directory for backup(on the file set) which have those kind of characters, but bacula (or the system) cant get there File option on file set: File = "C:/Documents and Settings/Susana Magalhães" What i get when trying to back it up: 26-Oct 15:43 GSI01-fd: Could not stat C:/Documents and Settings/Susana Magalhães/: ERR=O sistema não conseguiu localizar o ficheiro especificado. Which means "ERR=The system cannot find the path specified." If I use the "translation" bacula does, File option on file set would be like this: File = "C:/Documents and Settings/Susana Magalhães" And it works. So, whenever there's a folder with those special characters, I need to do that "translation" Is there a easy way to overcome this situations? This seems to be a charset problem. But how can I solve it? ThanksIt might help if you used the UTF-8 character set in the DIR configuration. I guess you've got it set to iso8859-something now. I'm never really sure how you do this, but I usually found that setting "LC_CTYPE=de_DE.UTF-8" in the shell gets me a utf-8 character set in addition to telling programs I want german language. You have to set up your terminal to use or find the right character sets and fonts, though. If your OS isn't prepared for utf-8 character sets this might become difficult, I guess. Anyway, after you have your working environment set to utf-8 use your favorite text editor to insert the right characters into the configuration file. Start the editor from the shell where you set the language environment. Arno |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users