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

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

Re: [rdiff-backup-users] Fink rdiff-backup 1.1.0 problems


From: Kevin Horton
Subject: Re: [rdiff-backup-users] Fink rdiff-backup 1.1.0 problems
Date: Fri, 28 Oct 2005 05:23:25 -0400

On 27 Oct 2005, at 06:30, Kevin Horton wrote:

On 27 Oct 2005, at 03:33, Ben Escoto wrote:


Kevin Horton <address@hidden>
wrote the following on Wed, 26 Oct 2005 21:07:04 -0400



Could you tell me what the rdiff-backup-data/chars_to_quote file is
when:

1) You make a repository from scratch with the most recent version
2) For older versions, if you have any repository laying around


I've been using the --override-chars-to-quote '' switch to avoid the "too long file name error", and both these files show as zero size. I looked at them with a hex editor to confirm this.




Processing changed file CD for M&D/Updates/iTunes 4.7/Read Before You
Install iTunes.app/Contents/Resources/ko.lproj/iTunes ???
?????? ????? ?????????.rtf


...


OSError: [Errno 63] File name too long: '/Volumes/Ext_BU/Users/kwh/
rdiffbu_v1_1_0/CD for M&D/Updates/iTunes 4.7/Read Before You Install
iTunes.app/Contents/Resources/ko.lproj/iTunes ;
225;132;137;225;133;165;225;134;175;225;132;142;225;133;181;225;132; 146;
225;133;161;225;132;128;225;133;181 ;
225;132;140;225;133;165;225;134;171;225;132;139;225;133;166 ;
225;132;139;225;133;181;225;134;176;225;132;139;225;133;165;225;132; 135;
225;133;169;225;132;128;225;133;181.rtf'



What is this M&D/Updates/.../iTunes_____________.rtf file?  Are there
really a lot of weird characters in it?  After a little manual
translating they look possibly Japanese to me :)


This is a Korean Read Me file, so I assume the characters in the file name are Korean. I hadn't realized it, but the "Read Before You Install iTunes" file is actually an application, with a huge number of Read Me files embedded in it, each in a different language.



Try this patch to fs_abilities.py:

diff -u -r1.22 fs_abilities.py
--- fs_abilities.py     26 Oct 2005 17:42:17 -0000      1.22
+++ fs_abilities.py     27 Oct 2005 07:30:52 -0000
@@ -199,7 +199,8 @@
                assert ord_rp.lstat()
                ord_rp.delete()

-               extended_filename = ':\\' + chr(175)
+               # Try a UTF-8 encoded character
+ extended_filename = ':\\ ' + chr(225) + chr(132) + chr(137)
                try:
                        ext_rp = subdir.append(extended_filename)
                        ext_rp.touch()



I'll try the patch tonight. I only have a few free minutes this morning.


I made another backup using rdiff-backup 1.0.1, and added the above patch to the list of patches for rdiff-backup 1.1.0. I then tried to do anther backup using destination that I had created with rdiff- backup 1.0.1. This backup event started well, but eventually failed:

% sudo rdiff-backup -v7 --no-carbonfile --override-chars-to-quote '' --print-statistics --exclude-globbing-filelist /rdiff- backup_exclude_list /Users/kwh /Volumes/Ext_BU/Users/kwh/rdiffbu_test
Unable to import module xattr.
Extended attributes not supported on filesystem at /Users/kwh
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /Users/kwh
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Case sensitivity                             Off
  Mac OS X style resource forks                On
  Mac OS X Finder information                  On
-----------------------------------------------------------------
Making directory /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup- data/rdiff-backup.tmp.0 Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/5-_ a. Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/5-_ a. Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/:\ ᄉ Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/:\ ᄉ Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/A Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/a Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/foo Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/foo Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/hardlinked_file1 Hard linking /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/hardlinked_file2 to /Volumes/Ext_BU/Users/kwh/ rdiffbu_test/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file1
Unable to import module xattr.
Extended attributes not supported on filesystem at /Volumes/Ext_BU/ Users/kwh/rdiffbu_test/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /Volumes/Ext_BU/Users/kwh/ rdiffbu_test/rdiff-backup-data/rdiff-backup.tmp.0 Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/dir_inc_check Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/dir_inc_check Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/regfile Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/regfile Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/high_perms Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0/high_perms Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ rdiff-backup.tmp.0 Removing directory /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff- backup-data/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
  Ownership changing                           On
  Hard linking                                 On
  fsync() directories                          On
  Directory inc permissions                    On
  High-bit permissions                         On
  Extended filenames                           On
  Access control lists                         Off
  Extended attributes                          Off
  Case sensitivity                             Off
  Mac OS X style resource forks                On
  Mac OS X Finder information                  On
-----------------------------------------------------------------
Source may have carbonfile support, but support defaults to off.
  Use --carbonfile to enable.
Reading globbing filelist /rdiff-backup_exclude_list
Writing mirror marker /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff- backup-data/current_mirror.2005-10-27T21:20:29-04:00.data Starting increment operation /Users/kwh to /Volumes/Ext_BU/Users/kwh/ rdiffbu_test
Processing changed file .
Incrementing mirror file /Volumes/Ext_BU/Users/kwh/rdiffbu_test
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ increments.2005-10-27T08:22:21-04:00.dir Copying inc attrs from () to /Volumes/Ext_BU/Users/kwh/rdiffbu_test/ rdiff-backup-data/increments.2005-10-27T08:22:21-04:00.dir Setting time of /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup- data/increments.2005-10-27T08:22:21-04:00.dir to 1130415727
Getting signature of .Xauthority with blocksize 64
Getting delta of /Users/kwh/.Xauthority with signature .Xauthority
Processing changed file .Xauthority
Writing file object to /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff- backup.tmp.1 Copying attributes from ('.Xauthority',) to /Volumes/Ext_BU/Users/kwh/ rdiffbu_test/rdiff-backup.tmp.1

<-- many lines snipped out -->

Getting signature of Public/Drop Box/rdiff-backup.tmp.344 with blocksize 560 Writing file object to /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff- backup-data/increments/Public/Drop Box/scrollkeeper fail.txt. 2005-10-27T08:22:21-04:00.diff.gz Copying inc attrs from ('Public', 'Drop Box', 'scrollkeeper fail.txt') to /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup- data/increments/Public/Drop Box/scrollkeeper fail.txt. 2005-10-27T08:22:21-04:00.diff.gz Writing resource fork to ('Public', 'Drop Box', 'scrollkeeper fail.txt.2005-10-27T08:22:21-04:00.diff.gz') Setting time of /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup- data/increments/Public/Drop Box/scrollkeeper fail.txt. 2005-10-27T08:22:21-04:00.diff.gz to 1076186251 Renaming /Volumes/Ext_BU/Users/kwh/rdiffbu_test/Public/Drop Box/rdiff- backup.tmp.344 to /Volumes/Ext_BU/Users/kwh/rdiffbu_test/Public/Drop Box/scrollkeeper fail.txt
Processing changed file screenlog.0
Copying attributes from ('Public', 'Drop Box') to /Volumes/Ext_BU/ Users/kwh/rdiffbu_test/Public/Drop Box Setting time of /Volumes/Ext_BU/Users/kwh/rdiffbu_test/Public/Drop Box to 1118355132 Copying attributes from ('Public',) to /Volumes/Ext_BU/Users/kwh/ rdiffbu_test/Public Setting time of /Volumes/Ext_BU/Users/kwh/rdiffbu_test/Public to 1074355867 Regular copying ('screenlog.0',) to /Volumes/Ext_BU/Users/kwh/ rdiffbu_test/rdiff-backup.tmp.345 Writing file object to /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff- backup.tmp.345 Copying attributes from ('screenlog.0',) to /Volumes/Ext_BU/Users/kwh/ rdiffbu_test/rdiff-backup.tmp.345
Writing resource fork to ('rdiff-backup.tmp.345',)
Setting time of /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff- backup.tmp.345 to 1130433406 Incrementing mirror file /Volumes/Ext_BU/Users/kwh/rdiffbu_test/ screenlog.0 Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup-data/ increments/screenlog.0.2005-10-27T08:22:21-04:00.missing Renaming /Volumes/Ext_BU/Users/kwh/rdiffbu_test/rdiff-backup.tmp.345 to /Volumes/Ext_BU/Users/kwh/rdiffbu_test/screenlog.0
Traceback (most recent call last):
  File "/sw/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 293, in Main
    take_action(rps)
File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 263, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 313, in Backup
    backup.Mirror_and_increment(rpin, rpout, incdir)
File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 51, in Mirror_and_increment
    DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 227, in patch_and_increment
    for diff in rorpiter.FillInIter(source_diffiter, dest_rpath):
File "/sw/lib/python2.4/site-packages/rdiff_backup/rorpiter.py", line 177, in FillInIter
    for rp in rpiter:
File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 103, in get_diffs
    for dest_sig in dest_sigiter:
File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 167, in get_sigs
    for src_rorp, dest_rorp in cls.CCPP:
File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 301, in next
    source_rorp, dest_rorp = self.iter.next()
File "/sw/lib/python2.4/site-packages/rdiff_backup/rorpiter.py", line 100, in Collate2Iters
    try: relem2 = riter2.next()
File "/sw/lib/python2.4/site-packages/rdiff_backup/metadata.py", line 256, in iterate
    next_pos = self.get_next_pos()
File "/sw/lib/python2.4/site-packages/rdiff_backup/metadata.py", line 247, in get_next_pos
    newbuf = self.fileobj.read(self.blocksize)
  File "/sw/lib/python2.4/gzip.py", line 225, in read
    self._read(readsize)
  File "/sw/lib/python2.4/gzip.py", line 290, in _read
    self._read_eof()
  File "/sw/lib/python2.4/gzip.py", line 309, in _read_eof
    raise IOError, "CRC check failed"
IOError: CRC check failed
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/Volumes/Ext_BU/ Users/kwh/rdiffbu_test/rdiff-backup-data/file_statistics. 2005-10-27T21:20:29-04:00.data.gz', mode 'wb' at 0x374d58 0x7a63c8>> ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/Volumes/Ext_BU/ Users/kwh/rdiffbu_test/rdiff-backup-data/error_log. 2005-10-27T21:20:29-04:00.data.gz', mode 'wb' at 0x783f50 0x7a9e90>> ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/Volumes/Ext_BU/ Users/kwh/rdiffbu_test/rdiff-backup-data/mirror_metadata. 2005-10-27T21:20:29-04:00.snapshot.gz', mode 'wb' at 0x783f98 0x7a63f0>> ignored

===============================================================
I will be heading on the road in about two hours. I won't be back home until Monday night, so I won't be able to any more testing until then.

Kevin Horton






reply via email to

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