rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Case sensitivity problem


From: padoivi
Subject: [rdiff-backup-users] Case sensitivity problem
Date: Wed, 15 Apr 2009 16:07:18 -0400

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 address@hidden via Backup Central.
|Forward SPAM to address@hidden
+----------------------------------------------------------------------






reply via email to

[Prev in Thread] Current Thread [Next in Thread]