Hello,

On 12.10.2005 21:28, Maurizio Santini wrote:

Hi all,

I trying to exclude a directory from the backup but I cannot because of
the accent on ó.  How could I achieve that?

Make *really* sure you use the same encoding in windows and the bacula-dir.conf file? Windows uses... erm. Yes. UTF-8? iso8859-something? Ok, I tried:

In a windows window: (excuse the German... you will understand what I show.)
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Dokumente und Einstellungen\Arno>chcp
Aktive Codepage: 850.

C:\Dokumente und Einstellungen\Arno>echo "âóäü" > //elf/temp/xxx.txt

C:\Dokumente und Einstellungen\Arno>


On file server elf, the terminal is using UTF-8 as character encoding:
elf:/srv/nfsexport/bacula/cvs/bacula/src/stored # cat /tmp/xxx.txt
"▒▒▒▒"
elf:/srv/nfsexport/bacula/cvs/bacula/src/stored # cat /tmp/xxx.txt | recode 
cp850..UTF-8
"âóäü"

Ok, I just proved that I use cp850 on the windows side.

Using something similar, probably starting with a command like "dir c:\Documents and Settings\mperez > //fileserver/directory" you could find out which character encoding your windows uses. Somehow I still think windows uses unicode, though...

Exclude {
 File = "C:/Documents and Settings/mperez/Configuración local/Historial"
 File = "C:/Documents and Settings/mperez/Configuración local/Temp"
 File = "C:/Documents and Settings/mperez/Configuración local/Archivos
temporales de Internet"
}

After you know which coding system you use on windows, edit the configuration file with the same settings.

Should work.

Arno

I'm using bacula 1.36.3 on RedHat linux 8.0 and I want to backup some
user data on a Windows XP machine.

Thanks in advance,

Maurizio



--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to