Re: [Bacula-users] bacula won't backup files with apostrophes
2010-04-13 08:13:47
Thanks for the ideas. I can't run the bacula client on the server, so
I'm forced to do things this way (I know it isn't, and that's a huge
understatement, the right way to do it). I'll try setting the iocharset
option and see if that works. I should have thought of that. It doesn't
make sense that Bacula would be causing this particular problem ;-)
Mark
On 13 April 2010 04:30, Craig Ringer <craig AT postnewspapers.com DOT au> wrote:
On 13/04/10 02:05, Mark Coolen wrote:
Hi;
I'm backing up files from a Windows share connecting with cifs (samba)
using autofs. I'm getting an error with files with apostrophes that the
files doesn't exist and it lists the file path with a ? instead of the
apostrophe.
First: Perhaps it'd be easier to just run a bacula-fd on the Windows system, bypassing this issue and giving you reliable backup of files that're open or being written to during the backup (using VSS) ?
If for some reason you can't do that, read on.
This sounds like a character encoding problem. Are they regular ASCII apostrophes, or are they 'curly' apostrophes (proper inverted commas) ?
If you create a file name with other unicode characters, is it visible or does it show up with "???" too? Try a filename like:
fileåæïöû
( this email is in utf-8, so if you're using a brain-dead mail client that doesn't recognise the encoding declared in the header you might have to save it and open it as a utf-8 text file in a text editor to see the above ).
or:
立法院上午
(random text from news.google.com.tw)
If it turns out to be an encoding issue, you'll need to set the `iocharset' mount option for mount.cifs correctly. See "man mount.cifs" and the output of the "locale" command.
If your local encoding isn't utf-8 you won't be able to reliably back up all possible files that may appear on a Windows system, as some characters on the remote system will lack local equivalents.
--
Craig Ringer
-- ___________________________ | Coolen Software Solutions | +1.519.652.9378 | mark.coolen AT gmail DOT com |___________________________
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|