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 06:32:57 -0400


On 25 Oct 2005, at 20:54, Ben Escoto wrote:

Kevin Horton <address@hidden>
wrote the following on Tue, 25 Oct 2005 18:51:02 -0400



Log("Source may have carbonfile support, but support defaults to "
NameError: global name 'Log' is not defined


Err change "Log" to "log.Log" or use the patch at:

http://savannah.nongnu.org/cgi-bin/viewcvs/rdiff-backup/rdiff- backup/rdiff_backup/fs_abilities.py.diff?r2=1.21&r1=1.20&diff_format=u

You run into a few more silly ones like this since we don't have a
Mac OS X developer :)

I tried this patch, but rdiff-back then failed, with complaints about character quoting, and a recommendation to enable carbonfile support:

% 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.
Fatal Error: New quoting requirements!

The quoting this session appears to need do not match those in

/Volumes/Ext_BU/Users/kwh/rdiffbu/rdiff-backup-data/chars_to_quote

This may be caused when you copy an rdiff-backup repository from a
normal file system onto a windows one that cannot support the same
characters, or if you backup a case-sensitive file system onto a
case-insensitive one that previously only had case-insensitive ones
backed up onto it.

If you want to risk it, remove the file
rdiff-backup-data/chars_to_quote.
Cleaning up

========================================================
I added a switch to enable carbonfile, but it said the recommended switch wasn't recognized:

% sudo rdiff-backup -v7 --carbonfile --print-statistics --exclude- globbing-filelist /rdiff-backup_exclude_list /Users/kwh /Volumes/ Ext_BU/Users/kwh/rdiffbu
Error: Bad commandline options: option --carbonfile not recognized
See the rdiff-backup manual page for instructions

========================================================
I read the original failure again, more closely, and saw the fatal error about quoting. I moved the chars_to_quote file aside 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'

=====================================================
It looks like my having removed the chars_to_quote file has fouled up its ability to recognize important files.

Kevin






reply via email to

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