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 ------------------------------------------------------------------------------ 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users