Fink rdiff-backup 1.1.0 problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

Fink rdiff-backup 1.1.0 problems

Kevin Horton
I was using rdiff-backup 1.0.1 successfully, and now I am having  
problems with version 1.1.0.  It looks like I am maybe missing a  
needed python module or two (xattr and posix1e?), but I can't find  
any Fink package that match up to these modules.

I'm running OS X 10.4.2, with an up-to-date unstable fink.

Here are two commands I tried to run, and the output:

Failure #1
% sudo rdiff-backup -v7 --print-statistics --exclude-globbing-
filelist /rdiff-backup_exclude_list /Users/kwh /Volumes/Ext_BU/Users/
kwh/rdiffbu
Password:
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
-----------------------------------------------------------------
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  
304, in Backup
     rpout.conn.fs_abilities.backup_set_globals(rpin)
   File "/sw/lib/python2.4/site-packages/rdiff_backup/
fs_abilities.py", line 610, in backup_set_globals
     bsg.set_carbonfile()
   File "/sw/lib/python2.4/site-packages/rdiff_backup/
fs_abilities.py", line 437, in set_carbonfile
     Log("Source may have carbonfile support, but support defaults to "
NameError: global name 'Log' is not defined

=========================
Failure #2
% sudo rdiff-backup -v7 --no-carbonfile --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
-----------------------------------------------------------------
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  
304, in Backup
     rpout.conn.fs_abilities.backup_set_globals(rpin)
   File "/sw/lib/python2.4/site-packages/rdiff_backup/
fs_abilities.py", line 610, in backup_set_globals
     bsg.set_carbonfile()
   File "/sw/lib/python2.4/site-packages/rdiff_backup/
fs_abilities.py", line 437, in set_carbonfile
     Log("Source may have carbonfile support, but support defaults to "
NameError: global name 'Log' is not defined

==================

I also tried with the command that used to work on version 1.0.1, but  
that too failed:

sudo rdiff-backup --no-carbonfile --override-chars-to-quote '' --
print-statistics --exclude-globbing-filelist /rdiff-
backup_exclude_list /Users/kwh /Volumes/Ext_BU/Users/kwh/rdiffbu

Kevin Horton
Ottawa, Canada




_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Kevin Horton
Those two modules are a red herring - I went back to version 1.0.1,  
and used it with -v7 (I had always used the default verbosity  
before).  The output started with:

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

But it didn't fail, and is now happily churning its way through a  
backup.

Kevin Horton

On 25 Oct 2005, at 18:51, Kevin Horton wrote:

> I was using rdiff-backup 1.0.1 successfully, and now I am having  
> problems with version 1.1.0.  It looks like I am maybe missing a  
> needed python module or two (xattr and posix1e?), but I can't find  
> any Fink package that match up to these modules.
>
> I'm running OS X 10.4.2, with an up-to-date unstable fink.
>
> Here are two commands I tried to run, and the output:
>
> Failure #1
> % sudo rdiff-backup -v7 --print-statistics --exclude-globbing-
> filelist /rdiff-backup_exclude_list /Users/kwh /Volumes/Ext_BU/
> Users/kwh/rdiffbu
> Password:
> 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
> -----------------------------------------------------------------
> 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  
> 304, in Backup
>     rpout.conn.fs_abilities.backup_set_globals(rpin)
>   File "/sw/lib/python2.4/site-packages/rdiff_backup/
> fs_abilities.py", line 610, in backup_set_globals
>     bsg.set_carbonfile()
>   File "/sw/lib/python2.4/site-packages/rdiff_backup/
> fs_abilities.py", line 437, in set_carbonfile
>     Log("Source may have carbonfile support, but support defaults to "
> NameError: global name 'Log' is not defined
>
> =========================
> Failure #2
> % sudo rdiff-backup -v7 --no-carbonfile --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
> -----------------------------------------------------------------
> 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  
> 304, in Backup
>     rpout.conn.fs_abilities.backup_set_globals(rpin)
>   File "/sw/lib/python2.4/site-packages/rdiff_backup/
> fs_abilities.py", line 610, in backup_set_globals
>     bsg.set_carbonfile()
>   File "/sw/lib/python2.4/site-packages/rdiff_backup/
> fs_abilities.py", line 437, in set_carbonfile
>     Log("Source may have carbonfile support, but support defaults to "
> NameError: global name 'Log' is not defined
>
> ==================
>
> I also tried with the command that used to work on version 1.0.1,  
> but that too failed:
>
> sudo rdiff-backup --no-carbonfile --override-chars-to-quote '' --
> print-statistics --exclude-globbing-filelist /rdiff-
> backup_exclude_list /Users/kwh /Volumes/Ext_BU/Users/kwh/rdiffbu
>
> Kevin Horton
> Ottawa, Canada
>
>
>
>
> _______________________________________________
> rdiff-backup-users mailing list at [hidden email]
> http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/ 
> RdiffBackupWiki
>



_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Ben Escoto
In reply to this post by Kevin Horton
>>>>> Kevin Horton <[hidden email]>
>>>>> 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 :)


--
Ben Escoto

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Blair Zajac
Ben Escoto wrote:

>>>>>>Kevin Horton <[hidden email]>
>>>>>>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 just put this patch into Fink's rdiff-backup for 10.3 and 10.4 in the
unstable branch.

Regards,
Blair

--
Blair Zajac, Ph.D.
<[hidden email]>
Subversion and Orca training and consulting
http://www.orcaware.com/svn/


_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Kevin Horton
In reply to this post by Ben Escoto

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

>>>>>> Kevin Horton <[hidden email]>
>>>>>> 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




_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Ben Escoto
>>>>> Kevin Horton <[hidden email]>
>>>>> 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:

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

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,
--
Ben Escoto

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Kevin Horton

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

Kevin Horton <[hidden email]>
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 = self.conn.C.make_file_dict(self.path)
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

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Kevin Horton-2
On 26 Oct 2005, at 21:07, Kevin Horton wrote:


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

Kevin Horton <[hidden email]>
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,
-- 


<-- a whole bunch of stuff from my earlier message has been snipped out -->

=========================================================================================
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

Well, it didn't take as long as I expected to finish that full back up.  It was successful, using a command line of:

sudo rdiff-backup -v7 --override-chars-to-quote '' --print-statistics --exclude-globbing-filelist /rdiff-backup_exclude_list /Users/kwh /Volumes/Ext_BU/Users/kwh/rdiffbu_v1_1_0

Kevin


_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Ben Escoto
In reply to this post by Kevin Horton
>>>>> Kevin Horton <[hidden email]>
>>>>> 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

> 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 :)

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()


BTW after reading a little bit about unicode I realize that some of
what I was saying earlier may not have made any sense.  I suppose to
do all this stuff theoretically right rdiff-backup needs to become
unicode aware, and also needs to test the filesystem to see what kind
of unicode encoding is supported.  But I think we can put that off for
a while.


--
Ben Escoto

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

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

>>>>>> Kevin Horton <[hidden email]>
>>>>>> 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;1
>> 46;
>> 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;1
>> 35;
>> 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.

Kevin


_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

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

> On 27 Oct 2005, at 03:33, Ben Escoto wrote:
>
>
>>>>>>> Kevin Horton <[hidden email]>
>>>>>>> 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




_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Ben Escoto
>>>>> Kevin Horton <[hidden email]>
>>>>> wrote the following on Fri, 28 Oct 2005 05:23:25 -0400

>    File "/sw/lib/python2.4/site-packages/rdiff_backup/metadata.py",  
> line 247, in get_next_pos
...
> IOError: CRC check failed

It seems your most recent mirror_metadata file is corrupt.  You can
check their integrity by by running:

    gzip -t rdiff-backup-data/mirror_metadata.<time here>.gz

If this is the problem, it doesn't necessarily mean there is a problem
in the version you have.  (You've been testing versions that have been
crashing a lot recently.)

So try running 1.1.0 on a clean repository.  If this works with no
issues (and it gets the quoting right) you can try using 1.0.x to make
a backup and then test to make sure 1.1.0 can upgrade it correctly.

> 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.

No problem, thanks for the testing you've done so far, I hope the
current version is working pretty well.


--
Ben Escoto

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Kevin Horton
On 28-Oct-05, at 21:50 , Ben Escoto wrote:

>>>>>> Kevin Horton <[hidden email]>
>>>>>> wrote the following on Fri, 28 Oct 2005 05:23:25 -0400
>
>>    File "/sw/lib/python2.4/site-packages/rdiff_backup/metadata.py",
>> line 247, in get_next_pos
> ...
>> IOError: CRC check failed
>
> It seems your most recent mirror_metadata file is corrupt.  You can
> check their integrity by by running:
>
>     gzip -t rdiff-backup-data/mirror_metadata.<time here>.gz

You are correct.  The mirror_metadata was corrupt.
>
>
> So try running 1.1.0 on a clean repository.  If this works with no
> issues (and it gets the quoting right) you can try using 1.0.x to make
> a backup and then test to make sure 1.1.0 can upgrade it correctly.

I did a fresh backup with the Fink rdiff-backup-1.1.0-3 package.  
This package uses the following patches:

# Let Fink install the document files into the proper location instead
# of having rdiff-backup's setup.py do it, which also puts its version
# number in the document directory name.

diff -ru rdiff-backup-1.1.0-orig/setup.py rdiff-backup-1.1.0/setup.py
--- rdiff-backup-1.1.0-orig/setup.py    2004-01-31 20:31:34.000000000  
-0800
+++ rdiff-backup-1.1.0/setup.py 2004-03-08 19:01:56.000000000 -0800
@@ -56,7 +56,4 @@
                                                             
libraries=libname,
                                                             
extra_link_args=lflags_arg)],
           scripts = ['rdiff-backup'],
-         data_files = [('share/man/man1', ['rdiff-backup.1']),
-                                       ('share/doc/rdiff-backup-%s'  
% (version_string,),
-                                        ['CHANGELOG', 'COPYING',  
'README', 'FAQ.html'])])
-
+         data_files = [('share/man/man1', ['rdiff-backup.1'])])

# Patch from
# 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

diff -u -r1.20 -r1.21
--- rdiff-backup-1.1.0/rdiff_backup/fs_abilities.py     2005/10/25  
06:43:23     1.20
+++ rdiff-backup-1.1.0/rdiff_backup/fs_abilities.py     2005/10/26  
00:52:53     1.21
@@ -436,8 +436,8 @@
                 self.update_triple(self.src_fsa.carbonfile,  
self.dest_fsa.carbonfile,
                           ('carbonfile_active', 'carbonfile_write',  
'carbonfile_conn'))
                 if self.src_fsa.carbonfile and not  
Globals.carbonfile_active:
-                       Log("Source may have carbonfile support, but  
support defaults to "
-                               "off.\n  Use --carbonfile to  
enable.", 5)
+                       log.Log("Source may have carbonfile support,  
but support "
+                                       "defaults to off.\n  Use --
carbonfile to enable.", 5)
         def set_hardlinks(self):
                 if Globals.preserve_hardlinks != 0:
===================================================================
RCS file: /cvsroot/rdiff-backup/cvsroot/rdiff-backup/rdiff-backup/
rdiff_backup/fs_abilities.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- rdiff-backup-1.1.0/rdiff_backup/fs_abilities.py     2005/10/26  
00:52:53     1.21
+++ rdiff-backup-1.1.0/rdiff_backup/fs_abilities.py     2005/10/26  
17:42:17     1.22
@@ -514,7 +514,8 @@
                         return actual_ctq
                 log.Log.FatalError("""New quoting requirements!
-The quoting this session appears to need do not match those in
+The quoting chars this session needs (%s) do not match
+the repository settings (%s) listed in
%s
@@ -522,10 +523,7 @@
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.""" % (ctq_rp.path,))
+backed up onto it.""" % (suggested_ctq, actual_ctq, ctq_rp.path))
class RestoreSetGlobals(SetGlobals):

===========================
Items of note:

1. I used a command without any special OS X flags:
sudo rdiff-backup -v7 --print-statistics --exclude-globbing-filelist /
rdiff-backup_exclude_list /Users/kwh /Volumes/Ext_BU/Users/kwh/
rdiffbu_test

2. rdiff-backup did the right thing with respect to upper case  
characters - it detected that both the source and destination were  
case insensitive, and it did not use any special encoding on the file  
names.  Good.  Progress!

3. The info that spews out at the start of the backup indicates that  
carbonfile support defaults to OFF.  I believe the default should be  
ON (once carbonfile support is working), just in case that info is  
important to someone.  If the fact that this is ON causes an error,  
and carbonfile support is not important to someone, then they can  
manually turn it OFF.   For now, with carbonfile support not working,  
I believe the program should present a very visible warning, and  
pause for user input.  The user should be offered the choice to  
abort, or continue without carbonfile support.  The warning should  
also state that this warning can be avoided in the future by using  
the --nocarbonfile flag.

4. The backup attempt eventually failed with a “File name too  
long” error.  I’ve got a backup of an old version of iTunes a few  
directories down from the top, and a Korean language ReadMe has a  
Unicode file name.  I moved this aside for now, but saved it in case  
you want to do any testing on this case.

The failure was:
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_test/CD for  
M&D/Updates/iTunes 4.7/Read Before You Install iTunes.app/Contents/
Resources/ko.lproj/rdiff-backup.tmp.6398
Writing file object to /Volumes/Ext_BU/Users/kwh/rdiffbu_test/CD for  
M&D/Updates/iTunes 4.7/Read Before You Install iTunes.app/Contents/
Resources/ko.lproj/rdiff-backup.tmp.6398
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_test/CD for  
M&D/Updates/iTunes 4.7/Read Before You Install iTunes.app/Contents/
Resources/ko.lproj/rdiff-backup.tmp.6398
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.6398')
Setting time of /Volumes/Ext_BU/Users/kwh/rdiffbu_test/CD for M&D/
Updates/iTunes 4.7/Read Before You Install iTunes.app/Contents/
Resources/ko.lproj/rdiff-backup.tmp.6398 to 1096284906
Renaming /Volumes/Ext_BU/Users/kwh/rdiffbu_test/CD for M&D/Updates/
iTunes 4.7/Read Before You Install iTunes.app/Contents/Resources/
ko.lproj/rdiff-backup.tmp.6398 to /Volumes/Ext_BU/Users/kwh/
rdiffbu_test/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 = self.conn.C.make_file_dict(self.path)
OSError: [Errno 63] File name too long: '/Volumes/Ext_BU/Users/kwh/
rdiffbu_test/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_test/rdiff-backup-data/file_statistics.
2005-10-31T19;05849;05841-05;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_test/rdiff-backup-data/error_log.
2005-10-31T19;05849;05841-05;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_test/rdiff-backup-data/mirror_metadata.
2005-10-31T19;05849;05841-05;05800.snapshot.gz', mode 'wb' at  
0x783f98 0x7a6378>> ignored
=======================================

I did a fresh BU using rdiff-backup 1.1.0, and another using rdiff-
backup 1.0.1.
The mirror metadata was corrupt on the fresh backup from v1.0.1  
(checked with gzip -t).  It was OK on the one from v1.1.0.

I wasn't sure what patches were in my rdiff-backup-1.0.1, so I  
rebuilt rdiff-backup 1.0.1, using the package in the fink stable  
tree.  No patches, except the standard fink one, that only affects  
documentation. A fresh backup was made, but mirror metadata was still  
corrupt.

The fink v1.0.1 package was then modified to use v1.0.2.  A fresh  
backup was made, and the mirror metadata was good. I did an  
incremental backup using v1.0.2, then updated to fink's rdiff-
backup-1.1.0-4 and did an incremental backup using the destination  
that had previously used v1.0.2.  I then did a restore of a large  
directory with a good selection of file types.  The restore was good,  
and the only item of interest is that the files had lost their  
association with the programs that created them.  The system had  
reverted to using the file suffix as defining the creator, whereas  
before many of the files had been identified as belonging to other  
programs.  I believe this is because the backup was made with the  
carbonfile OFF.  This isn't a major issue for me, as the files were  
still useable.  But it is an annoyance.   I will do a test with  
v1.1.0 with carbonfile enabled later to confirm that it is still a  
problem.

Conclusions:

1. The Fink rdiff-backup-1.1.0-4 package seems to be working  
correctly when backing up to and from an HFS+ volume.  There is no  
need to use any special OS X flags.  This is a major step forward.

2. The Fink rdiff-backup-1.0.1 package seems to be broken.  It should  
be updated to use v1.0.2, especially as this version has at least one  
important security fix.

Kevin Horton

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Blair Zajac
Kevin Horton wrote:

>
> Conclusions:
>
> 1. The Fink rdiff-backup-1.1.0-4 package seems to be working  correctly
> when backing up to and from an HFS+ volume.  There is no  need to use
> any special OS X flags.  This is a major step forward.
>
> 2. The Fink rdiff-backup-1.0.1 package seems to be broken.  It should  
> be updated to use v1.0.2, especially as this version has at least one  
> important security fix.

I updated the rdiff-backup package in the 10.3 and 10.4-transitional stable
branches to 1.0.2.

Thanks,
Blair

--
Blair Zajac, Ph.D.
<[hidden email]>
Subversion and Orca training and consulting
http://www.orcaware.com/svn/


_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Ben Escoto
In reply to this post by Kevin Horton
>>>>> Kevin Horton <[hidden email]>
>>>>> wrote the following on Tue, 1 Nov 2005 17:59:06 -0500
>
> 3. The info that spews out at the start of the backup indicates that  
> carbonfile support defaults to OFF.  I believe the default should be  
> ON (once carbonfile support is working), just in case that info is  
> important to someone.  If the fact that this is ON causes an error,  
> and carbonfile support is not important to someone, then they can  
> manually turn it OFF.

Yes I agree, the default off is just a temporary thing until we can
get it working.  I looked up and emailed the original author so maybe
he can tell me what the right thing to do here is, or point me to some
documentation.

> 4. The backup attempt eventually failed with a ___File name too  
> long___ error.
...
> OSError: [Errno 63] File name too long: '/Volumes/Ext_BU/Users/kwh/

Assuming you were updating a backup started earlier, this is a good
sign, since for backwards compatibility it needs to keep quoting if
quoting was enabled before.  However, filename too long errors should
be recoverable, and not crash rdiff-backup.  Perhaps you could start
the python interpreter and type this in:

>>> import errno
>>> errno.ENAMETOOLONG
36
>>> errno.errorcode[63]
'ENOSR'

(example values are what my system says---yours must be different if
it is crashing rdiff-backup).


--
Ben Escoto

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Kevin Horton
On 2 Nov 2005, at 01:25, Ben Escoto wrote:

>> 4. The backup attempt eventually failed with a ___File name too
>> long___ error.
>>
> ...
>
>> OSError: [Errno 63] File name too long: '/Volumes/Ext_BU/Users/kwh/
>>
>
> Assuming you were updating a backup started earlier, this is a good
> sign, since for backwards compatibility it needs to keep quoting if
> quoting was enabled before.  However, filename too long errors should
> be recoverable, and not crash rdiff-backup.  Perhaps you could start
> the python interpreter and type this in:
>
>
>>>> import errno
>>>> errno.ENAMETOOLONG
>>>>
> 36
>
>>>> errno.errorcode[63]
>>>>
> 'ENOSR'
>
> (example values are what my system says---yours must be different if
> it is crashing rdiff-backup).

I get:

% python
Python 2.4.2 (#1, Oct 14 2005, 16:33:25)
[GCC 4.0.0 (Apple Computer, Inc. build 5026)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import errno
 >>> errno.ENAMETOOLONG
63
 >>> errno.errorcode[63]
'ENAMETOOLONG'

Kevin



_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Ben Escoto
>>>>> Kevin Horton <[hidden email]>
>>>>> wrote the following on Wed, 2 Nov 2005 05:06:11 -0500
> On 2 Nov 2005, at 01:25, Ben Escoto wrote:
>
> >> 4. The backup attempt eventually failed with a ___File name too
> >> long___ error.

This should be fixed in version 1.1.1.


--
Ben Escoto

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Fink rdiff-backup 1.1.0 problems

Kevin Horton

On 5 Nov 2005, at 23:59, Ben Escoto wrote:

>>>>>> Kevin Horton <[hidden email]>
>>>>>> wrote the following on Wed, 2 Nov 2005 05:06:11 -0500
>> On 2 Nov 2005, at 01:25, Ben Escoto wrote:
>>
>>>> 4. The backup attempt eventually failed with a ___File name too
>>>> long___ error.
>
> This should be fixed in version 1.1.1.
>

I put the offending file back where it was when it caused the error,  
and tried a backup using version 1.1.2.  The file with the long name  
was correctly backed up, and I opened it to be sure everything was OK.

This problem appears to be fixed.

I'm making a fresh backup with carbonfile enabled, and I will report  
back once I have done some testing.

Kevin Horton


_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki