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: Wed, 26 Oct 2005 21:07:04 -0400


On 26 Oct 2005, at 13:45, Ben Escoto wrote:

Kevin Horton <address@hidden>
wrote the following on Wed, 26 Oct 2005 06:32:57 -0400


Fatal Error: New quoting requirements!


Hmm, try this debugging patch and post what happens:


It won't fix the problem but should give some more information.

Also try backing up into a new repository and let's see if that works.

Thanks for your testing,
-- 

I added the new patch, and tried again:

% sudo rdiff-backup -v7 --print-statistics --exclude-globbing-filelist /rdiff-backup_exclude_list /Users/kwh /Volumes/Ext_BU/Users/kwh/rdiffbu
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/rdiff-backup-data/rdiff-backup.tmp.1
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/5-_ a.
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/5-_ a.
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/:\?
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/A
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/a
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/foo
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/foo
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/hardlinked_file1
Hard linking /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/hardlinked_file2 to /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/hardlinked_file1
Unable to import module xattr.
Extended attributes not supported on filesystem at /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/dir_inc_check
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/dir_inc_check
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/regfile
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/regfile
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/high_perms
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1/high_perms
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1
Removing directory /Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/rdiff-backup.tmp.1
-----------------------------------------------------------------
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                           Off
  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.
Previous backup seems to have failed, regressing destination now.
Regressing to Sat Oct 22 14:49:49 2005
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 307, in Backup
    backup_final_init(rpout)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 404, in backup_final_init
    checkdest_if_necessary(rpout)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 773, in checkdest_if_necessary
    dest_rp.conn.regress.Regress(dest_rp)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/regress.py", line 70, in Regress
    for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/regress.py", line 161, in iterate_meta_rfs
    collated = rorpiter.Collate2Iters(raw_rfs, yield_metadata())
  File "/sw/lib/python2.4/site-packages/rdiff_backup/regress.py", line 147, in yield_metadata
    regress_time)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/metadata.py", line 410, in get_objects_at_time
    return cls.get_objects(restrict_index)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/metadata.py", line 386, in get_objects
    fileobj = cls._rp.open('rb', compress = compressed)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 965, in open
    if compress: return gzip.GzipFile(self.path, mode)
  File "/sw/lib/python2.4/gzip.py", line 95, in __init__
    fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
IOError: [Errno 2] No such file or directory: '/Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/mirror_metadata.2005-10-22T14;05849;05849-04;05800.snapshot.gz'


=========================================================================================
I then tried a brand new backup (I think it makes sense to do the developmental work on a separate backup anyway, as I need a backup I can count on.  This started OK, but eventually failed due to a too long filename):

% sudo rdiff-backup -v7 --print-statistics --exclude-globbing-filelist /rdiff-backup_exclude_list /Users/kwh /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0
Password:
Making directory /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0
Making directory /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data
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_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/:\?
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/A
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/a
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/foo
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/foo
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file1
Hard linking /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file2 to /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/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_v1_1_0/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_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/regfile
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/regfile
Touching /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/high_perms
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0/high_perms
Deleting /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/rdiff-backup.tmp.0
Removing directory /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/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                           Off
  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.
Making directory /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/increments
Reading globbing filelist /rdiff-backup_exclude_list
Starting mirror /Users/kwh to /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0
Processing changed file .
Processing changed file .AbiSuite
Making directory /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/.AbiSuite
Processing changed file .AbiSuite/AbiWord.Profile
=========================================================================================
<many, many lines sniped out>
=========================================================================================

Setting time of /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/fi.lproj to 1097266278
Making directory /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
Processing changed file CD for M&D/Updates/iTunes 4.7/Read Before You Install iTunes.app/Contents/Resources/ko.lproj/InfoPlist.strings
Regular copying ('CD for M&D', 'Updates', 'iTunes 4.7', 'Read Before You Install iTunes.app', 'Contents', 'Resources', 'ko.lproj', 'InfoPlist.strings') to /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/rdiff-backup.tmp.6389
Writing file object to /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/rdiff-backup.tmp.6389
Copying attributes from ('CD for M&D', 'Updates', 'iTunes 4.7', 'Read Before You Install iTunes.app', 'Contents', 'Resources', 'ko.lproj', 'InfoPlist.strings') to /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/rdiff-backup.tmp.6389
Writing resource fork to ('CD for M&D', 'Updates', 'iTunes 4.7', 'Read Before You Install iTunes.app', 'Contents', 'Resources', 'ko.lproj', 'rdiff-backup.tmp.6389')
Setting time of /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/rdiff-backup.tmp.6389 to 1096284906
Renaming /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/rdiff-backup.tmp.6389 to /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/InfoPlist.strings
Processing changed file CD for M&D/Updates/iTunes 4.7/Read Before You Install iTunes.app/Contents/Resources/ko.lproj/iTunes 설치하기 전에 읽어보기.rtf
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 316, in Backup
    backup.Mirror(rpin, rpout)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 218, in patch
    ITR(diff.index, diff)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/rorpiter.py", line 280, in __call__
    if last_branch.can_fast_process(*args):
  File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 470, in can_fast_process
    rp = self.get_rp_from_root(index)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 465, in get_rp_from_root
    self.cached_rp = self.basis_root_rp.new_index(index)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 949, in new_index
    return self.__class__(self.conn, self.base, index)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/FilenameMapping.py", line 118, in __init__
    rpath.RPath.__init__(self, connection, base, quoted_index, data)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 683, in __init__
    else: self.setdata()
  File "/sw/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 707, in setdata
    self.data = "">
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'
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/file_statistics.2005-10-26T18;05839;05854-04;05800.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_v1_1_0/rdiff-backup-data/error_log.2005-10-26T18;05839;05854-04;05800.data.gz', mode 'wb' at 0x783f50 0x7a9fa8>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0/rdiff-backup-data/mirror_metadata.2005-10-26T18;05839;05854-04;05800.snapshot.gz', mode 'wb' at 0x783f98 0x7a6378>> ignored


=========================================================================================
So, it looks like I still need to disable the uppercase character encoding.  I removed the partial backup, and tried again:

Now it has been happily churning away through a new full backup for over an hour, with many more hours to go if it is successful.  I'll report back tomorrow morning with the results.

I have concluded:

1. The v1.1.0 is not compatible with backups created with v1.0.1 on Mac OS X 10.4.2, with both the source and destination on HFS+ volumes.

2. v1.1.0 appears to be able to create a new full backup on OS X 10.4.2, with both the source and destination on HFS+ volumes.

Kevin Horton

reply via email to

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