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: wb' raised of class '<type 'exceptions.IOError'>': File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 280, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 346, in Backup backup.Mirror(rpin, rpout) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 35, in Mirror DestS.set_rorp_cache(dest_rpath, source_rpiter, 0) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 154, in set_rorp_cache collated, Globals.pipeline_max_length*4, baserp) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 289, in __init__ if Globals.file_statistics: statistics.FileStats.init() File "/var/lib/python-support/python2.5/rdiff_backup/statistics.py", line 367, in init cls._fileobj = cls._rp.open("wb", compress = Globals.compression) File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 1173, in open if compress: return GzipFile(self.path, mode) File "/usr/lib/python2.5/gzip.py", line 95, in __init__ fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb') Traceback (most recent call last): File "/usr/bin/rdiff-backup", line 30, in <module> rdiff_backup.Main.error_check_Main(sys.argv[1:]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 280, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 346, in Backup backup.Mirror(rpin, rpout) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 35, in Mirror DestS.set_rorp_cache(dest_rpath, source_rpiter, 0) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 154, in set_rorp_cache collated, Globals.pipeline_max_length*4, baserp) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 289, in __init__ if Globals.file_statistics: statistics.FileStats.init() File "/var/lib/python-support/python2.5/rdiff_backup/statistics.py", line 367, in init cls._fileobj = cls._rp.open("wb", compress = Globals.compression) File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 1173, in open if compress: return GzipFile(self.path, mode) File "/usr/lib/python2.5/gzip.py", line 95, in __init__ fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb') IOError: invalid mode: 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
