BackingUpUnicodeToSmbfsMount

From RdiffBackupWiki

Jump to: navigation, search

This solution will help you to back files from a linux directory to a shared windows directory (smbfs mount).

You are likely to encounter errors if any of your file names contain characters not supported by smbfs default codepage. The trick is to convince smbfs to use unicode over the wire. You must specify 3 options for this to work:

 unicode,lfs,codepage=unicode,iocharset=xxx 

Where xxx is your local CP. For example, if your CP is utf-8 then the command would be:

 smbmount //computer/share /mnt/dir unicode,lfs,codepage=unicode,iocharset=utf8

And yes, you have to use the latest rdiff-backup version for backing up to smbfs, otherwise you'll get a lot of other errors :)

Personal tools