Mac OS X 10.4 rdiff-backup woes

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

Mac OS X 10.4 rdiff-backup woes

Yannick Wurm
Hi list,

has anyone succesfully used rdiff on Mac OS X Tiger? 
I installed rdiff-backup 0.13.6 via 'fink install rdiff-backup'. Despite installation going well, I always get errors, as shown below (running rdiff with sudo gives the same result). 

I would be very grateful for any piece of advice.

Thanks,

yannick


dee-107:~ admin$ mkdir a
dee-107:~ admin$ echo "asdfasdlkjs" > a/asdf.txt
dee-107:~ admin$ mkdir b
ddee-107:~ admin$ rdiff-backup -v9 a b
Sat Oct 22 19:42:02 2005  Making directory b/rdiff-backup-data
Sat Oct 22 19:42:02 2005  Unable to import module xattr.
Extended attributes not supported on filesystem at a
Sat Oct 22 19:42:02 2005  Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at a
Sat Oct 22 19:42:02 2005  -----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                On
  Mac OS X Finder information                  On
-----------------------------------------------------------------
Sat Oct 22 19:42:02 2005  Making directory b/rdiff-backup-data/rdiff-backup.tmp.0
Sat Oct 22 19:42:02 2005  Touching b/rdiff-backup-data/rdiff-backup.tmp.0/foo
Sat Oct 22 19:42:02 2005  Warning: ownership cannot be changed on filesystem at b/rdiff-backup-data
Sat Oct 22 19:42:02 2005  Deleting b/rdiff-backup-data/rdiff-backup.tmp.0/foo
Sat Oct 22 19:42:02 2005  Touching b/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file1
Sat Oct 22 19:42:02 2005  Hard linking b/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file2 to b/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file1
Sat Oct 22 19:42:02 2005  Unable to import module xattr.
Extended attributes not supported on filesystem at b/rdiff-backup-data/rdiff-backup.tmp.0
Sat Oct 22 19:42:02 2005  Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at b/rdiff-backup-data/rdiff-backup.tmp.0
Sat Oct 22 19:42:02 2005  Touching b/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
Sat Oct 22 19:42:02 2005  Deleting b/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
Sat Oct 22 19:42:02 2005  Touching b/rdiff-backup-data/rdiff-backup.tmp.0/regfile
Sat Oct 22 19:42:02 2005  Deleting b/rdiff-backup-data/rdiff-backup.tmp.0/regfile
Sat Oct 22 19:42:02 2005  Touching b/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.
Sat Oct 22 19:42:02 2005  Deleting b/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.
Sat Oct 22 19:42:02 2005  Touching b/rdiff-backup-data/rdiff-backup.tmp.0/A
Sat Oct 22 19:42:02 2005  Deleting b/rdiff-backup-data/rdiff-backup.tmp.0/a
Sat Oct 22 19:42:02 2005  Touching b/rdiff-backup-data/rdiff-backup.tmp.0/:
Sat Oct 22 19:42:02 2005  Deleting b/rdiff-backup-data/rdiff-backup.tmp.0/:
Sat Oct 22 19:42:02 2005  Touching b/rdiff-backup-data/rdiff-backup.tmp.0/\
Sat Oct 22 19:42:02 2005  Deleting b/rdiff-backup-data/rdiff-backup.tmp.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 280, in Main
    take_action(rps)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 250, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 291, in Backup
    backup_set_fs_globals(rpin, rpout)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 411, in backup_set_fs_globals
    dest_fsa = rpout.conn.fs_abilities.get_fsabilities_readwrite(
  File "/sw/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py", line 393, in get_fsabilities_readwrite
    return FSAbilities(desc_string).init_readwrite(
  File "/sw/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py", line 152, in init_readwrite
    if override_chars_to_quote is None: self.set_chars_to_quote(subdir)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py", line 266, in set_chars_to_quote
    if supports_unusual_chars(): self.chars_to_quote = "A-Z;"
  File "/sw/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py", line 244, in supports_unusual_chars
    rp = subdir.append(filename)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 906, in append
    return self.__class__(self.conn, self.base, self.index + (ext,))
  File "/sw/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 666, in __init__
    else: self.setdata()
  File "/sw/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 690, in setdata
    self.data = self.conn.C.make_file_dict(self.path)
OSError: [Errno 22] Invalid argument: 'b/rdiff-backup-data/rdiff-backup.tmp.0/\xaf'
dee-107:~ admin$     

_______________________________

[hidden email]  - Doctoral student

Department of Ecology and Evolution

#3122, Biopore, Universite de Lausanne

1015 Lausanne, Switzerland

land: +41.21.692.4157  fax: +41.21.692.4165
cell: +41.78.87.87.001




_______________________________________________
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: Mac OS X 10.4 rdiff-backup woes

Kevin Horton
On 22 Oct 2005, at 13:44, Yannick Wurm wrote:

> Hi list,
>
> has anyone succesfully used rdiff on Mac OS X Tiger?
> I installed rdiff-backup 0.13.6 via 'fink install rdiff-backup'.  
> Despite installation going well, I always get errors, as shown  
> below (running rdiff with sudo gives the same result).
>
>

I've been using the latest rdiff-backup, version 1.0.1, which is  
available in Fink's unstable tree.  I've only been using it for a  
couple of weeks, so I haven't yet decided if it is really working  
100% properly.  The checks I have made of the backed up data have not  
yet uncovered any problems.  I still need to do a proper test of a  
recovery though.

I do need to use two special command-line switches though:

--no-carbonfile
--override-chars-to-quote ''

The --no-carbonfile switch is needed to avoid errors about carbonfile  
data in some of my files.  This switch makes rdiff-backup not copy  
the carbonfile data.  This isn't causing a problem with any of my  
files, as far as I can tell, but it might be an issue for some people.

The --override-chars-to-quote '' switch is needed to avoid rdiff-
backup doing special encoding of upper case characters.  It does this  
because it knows that the file system it is backing up to is case  
insensitive (the default HFS+ file system is case preserving, but  
case insensitive, so a file named "SomeFile" would overwrite a file  
named "somefile").  But, if both the source file system, and the  
backup file system are HFS+, there is no need to worry, so this  
switch stops the encoding of upper case characters.  Note: the last  
characters in that switch are two single-quote characters.

If you don't want to enable fink's unstable tree, I could e-mail you  
my rdiff-backup-1.0.1 deb file so you could manually install it using  
dpkg.

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: Mac OS X 10.4 rdiff-backup woes

Scott Lamb
In reply to this post by Yannick Wurm

On 22 Oct 2005, at 10:44, Yannick Wurm wrote:

> Hi list,
>
> has anyone succesfully used rdiff on Mac OS X Tiger?

Yes.

> I installed rdiff-backup 0.13.6 via 'fink install rdiff-backup'.

rdiff-backup is on version 1.0.1. If that's fink's latest, bypass it  
and download rdiff-backup yourself.

--
Scott Lamb <http://www.slamb.org/>



_______________________________________________
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: Mac OS X 10.4 rdiff-backup woes

Carsten Lorenz
In reply to this post by Yannick Wurm
Yannick Wurm wrote:

> Hi list,
>
> has anyone succesfully used rdiff on Mac OS X Tiger?
> I installed rdiff-backup 0.13.6 via 'fink install rdiff-backup'.
> Despite installation going well, I always get errors, as shown below
> (running rdiff with sudo gives the same result).
>
> I would be very grateful for any piece of advice.

If you have installed the OS X Development package, you can use the
original packages of librsync and rdiff-backup.
I downloaded and installed them without any problems.

For librsync it's:
>./configure
>make install

For rdiff-backup as root it's:
>./setup.py clean build install

Since rdiff-backup and its man-page aren't in the path i additionally
entered:
>ln -s
/System/Library/Frameworks/Python.framework/Versions/2.3/bin/rdiff-backup
/usr/local/bin/rdiff-backup
>ln -s
/System/Library/Frameworks/Python.framework/Versions/2.3/share/man/man1/rdiff-backup.1
/usr/local/share/man/man1/rdiff-backup.1

Carsten


_______________________________________________
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: Mac OS X 10.4 rdiff-backup woes

Blair Zajac
In reply to this post by Yannick Wurm
Scott Lamb wrote:

> On 22 Oct 2005, at 10:44, Yannick Wurm wrote:
>
>
>>Hi list,
>>
>>has anyone succesfully used rdiff on Mac OS X Tiger?
>
>
> Yes.
>
>
>>I installed rdiff-backup 0.13.6 via 'fink install rdiff-backup'.
>
> rdiff-backup is on version 1.0.1. If that's fink's latest, bypass it  
> and download rdiff-backup yourself.

The latest version of any package in Fink is always in the unstable
branch.  The stable branch typically has older, more well tested code
which is known to work.  When a package in the unstable branch has had
no complaints for a while, it's up to the package maintainer to move it
over from unstable to stable.

In Fink's case, the latest version in unstable is 1.0.1.  I'll be moving
the 1.0.1 over to stable tonight.

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: Mac OS X 10.4 rdiff-backup woes

Blair Zajac
Blair Zajac wrote:

> Scott Lamb wrote:
>
>> On 22 Oct 2005, at 10:44, Yannick Wurm wrote:
>>
>>
>>> Hi list,
>>>
>>> has anyone succesfully used rdiff on Mac OS X Tiger?
>>
>>
>>
>> Yes.
>>
>>
>>> I installed rdiff-backup 0.13.6 via 'fink install rdiff-backup'.
>>
>>
>> rdiff-backup is on version 1.0.1. If that's fink's latest, bypass it  
>> and download rdiff-backup yourself.
>
>
> The latest version of any package in Fink is always in the unstable
> branch.  The stable branch typically has older, more well tested code
> which is known to work.  When a package in the unstable branch has had
> no complaints for a while, it's up to the package maintainer to move it
> over from unstable to stable.
>
> In Fink's case, the latest version in unstable is 1.0.1.  I'll be moving
> the 1.0.1 over to stable tonight.
>
> Regards,
> Blair

I just saw that 1.0.2 and 1.1.0 are available.

Now Fink 10.3 and 10.4 stable still has 1.0.1 and Fink 10.3 and 10.4
unstable has 1.1.0.

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: Mac OS X 10.4 rdiff-backup woes

Yannick Wurm
In reply to this post by Blair Zajac
Hi List,
thanks for the help.

Currently cruising smoothly with fink's rdiff-backup 1.01. (fink  
updating to many of the latest packages, including python, over 2  
days is what solved my issue)

Cheers,

yannick

On Oct 25, 2005, at 6:35 AM, Blair Zajac wrote:

> Scott Lamb wrote:
>
>> On 22 Oct 2005, at 10:44, Yannick Wurm wrote:
>>
>>> Hi list,
>>>
>>> has anyone succesfully used rdiff on Mac OS X Tiger?
>>>
>> Yes.
>>
>>> I installed rdiff-backup 0.13.6 via 'fink install rdiff-backup'.
>>>
>> rdiff-backup is on version 1.0.1. If that's fink's latest, bypass  
>> it  and download rdiff-backup yourself.
>>
>
> The latest version of any package in Fink is always in the unstable  
> branch.  The stable branch typically has older, more well tested  
> code which is known to work.  When a package in the unstable branch  
> has had no complaints for a while, it's up to the package  
> maintainer to move it over from unstable to stable.
>
> In Fink's case, the latest version in unstable is 1.0.1.  I'll be  
> moving the 1.0.1 over to stable tonight.
>
> 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
>
>

_______________________________
[hidden email]  - Doctoral student
Department of Ecology and Evolution
#3122, Biopore, Universite de Lausanne
1015 Lausanne, Switzerland
land: +41.21.692.4157  fax: +41.21.692.4165
cell: +41.78.87.87.001




_______________________________________________
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