I don't think ntfs is case sentitive, its case preserving, but not
really case sensitive as far as I understand -- this is why you get
those funny strings, so the case can be preserved on whatever system
you backed up from.  Can't you use an ext3 file system for your
external hard drive?

on Wednesday 04/15/2009 padoivi([email protected]) wrote
 > 
 > Hi,
 > 
 > Seduced by the reverse diff and mirroring capabilities of rdiff-backup, I 
 > decided to start using it.
 > 
 > Everything is working fine but I get problems with files or directories 
 > names containing capital letters such as "Documentation" which names get 
 > converted into things like ";068ocumentation" (the worst case being with 
 > file names such as "README or INSTALL").
 > 
 > I am backing up from an ext3 filesystem (Linux, Ubuntu Hardy) to an ntfs 
 > filesystem  (external hard drive, USB 2.0 connection) which are both 
 > supposed to be case sensitive.
 > 
 > I tried the --override-chars-to-quote option (reading from various forum 
 > posts) but I get the following error message :
 > 
 > 
 > >> rdiff-backup --exclude-special-files --override-chars-to-quote "A-Z;" 
 > >> /home/bob /BackuP/RDIFF-BACKUPS-BOB/home/bob
 > Warning: hard linking not supported by filesystem at 
 > /BackuP/RDIFF-BACKUPS-BOB/home/bob/rdiff-backup-data
 > Exception 'invalid mode&#58; wb' raised of class '<type 
 > 'exceptions.IOError'>'&#58;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 
 > 304, in error_check_Main
 > &nbsp; &nbsp; try&#58; Main&#40;arglist&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 
 > 324, in Main
 > &nbsp; &nbsp; take_action&#40;rps&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 
 > 280, in take_action
 > &nbsp; &nbsp; elif action == "backup"&#58; Backup&#40;rps&#91;0&#93;, 
 > rps&#91;1&#93;&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 
 > 346, in Backup
 > &nbsp; &nbsp; backup.Mirror&#40;rpin, rpout&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 
 > 35, in Mirror
 > &nbsp; &nbsp; DestS.set_rorp_cache&#40;dest_rpath, source_rpiter, 0&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 
 > 154, in set_rorp_cache
 > &nbsp; &nbsp; collated, Globals.pipeline_max_length*4, baserp&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 
 > 289, in __init__
 > &nbsp; &nbsp; if Globals.file_statistics&#58; 
 > statistics.FileStats.init&#40;&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/statistics.py", 
 > line 367, in init
 > &nbsp; &nbsp; cls._fileobj = cls._rp.open&#40;"wb", compress = 
 > Globals.compression&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 
 > 1173, in open
 > &nbsp; &nbsp; if compress&#58; return GzipFile&#40;self.path, mode&#41;
 > &nbsp; File "/usr/lib/python2.5/gzip.py", line 95, in __init__
 > &nbsp; &nbsp; fileobj = self.myfileobj = __builtin__.open&#40;filename, mode 
 > or 'rb'&#41;
 > 
 > Traceback &#40;most recent call last&#41;&#58;
 > &nbsp; File "/usr/bin/rdiff-backup", line 30, in <module>
 > &nbsp; &nbsp; 
 > rdiff_backup.Main.error_check_Main&#40;sys.argv&#91;1&#58;&#93;&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 
 > 304, in error_check_Main
 > &nbsp; &nbsp; try&#58; Main&#40;arglist&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 
 > 324, in Main
 > &nbsp; &nbsp; take_action&#40;rps&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 
 > 280, in take_action
 > &nbsp; &nbsp; elif action == "backup"&#58; Backup&#40;rps&#91;0&#93;, 
 > rps&#91;1&#93;&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 
 > 346, in Backup
 > &nbsp; &nbsp; backup.Mirror&#40;rpin, rpout&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 
 > 35, in Mirror
 > &nbsp; &nbsp; DestS.set_rorp_cache&#40;dest_rpath, source_rpiter, 0&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 
 > 154, in set_rorp_cache
 > &nbsp; &nbsp; collated, Globals.pipeline_max_length*4, baserp&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 
 > 289, in __init__
 > &nbsp; &nbsp; if Globals.file_statistics&#58; 
 > statistics.FileStats.init&#40;&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/statistics.py", 
 > line 367, in init
 > &nbsp; &nbsp; cls._fileobj = cls._rp.open&#40;"wb", compress = 
 > Globals.compression&#41;
 > &nbsp; File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 
 > 1173, in open
 > &nbsp; &nbsp; if compress&#58; return GzipFile&#40;self.path, mode&#41;
 > &nbsp; File "/usr/lib/python2.5/gzip.py", line 95, in __init__
 > &nbsp; &nbsp; fileobj = self.myfileobj = __builtin__.open&#40;filename, mode 
 > or 'rb'&#41;
 > IOError&#58; invalid mode&#58; wb
 > 
 > 
 > Any help would be appreciated.
 > 
 > Thanks,
 > V
 > 
 > +----------------------------------------------------------------------
 > |This was sent by [email protected] via Backup Central.
 > |Forward SPAM to [email protected].
 > +----------------------------------------------------------------------
 > 
 > 
 > 
 > 
 > _______________________________________________
 > rdiff-backup-users mailing list at [email protected]
 > http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
 > Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         [email protected]


_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to