Dan,
        I have experimented with rsync+hfsmode (both versions: rsync-2.6.3 
+hfsmode-1.2b2 and rsync-2.6.6+hfsmode-1.3a1) with limited success.  
If I back up a few files, it seems to work.  And the files can be  
recovered by retrieving both "file" and "._file" and then using an  
apple function, FixupResourceForks (/System/Library/CoreServices/ 
FixupResourceForks) on the restored directory.  I'm sure we could  
automate this restore in BackupPC.  We should also hide the "._file"  
in the backup file lists and automatically select them on a restore.

        The problem seems to be that on a larger directory, something seems  
to break in the backup.  I think the patched rsync file (with the "-- 
hfs-mode=appledouble" option) crashes for some reason.  I'm not sure  
how to track this down, hopefully it's a simple problem to fix.

-Chris


On Nov 12, 2007, at 11:42 PM, Dan Pritts wrote:

> Perhaps this site would be a useful reference:
>
>  http://www.quesera.com/reynhout/misc/rsync+hfsmode/
>
> I've used this patched rsync with some success but have certainly
> not tested it exhaustively.  It is probably not ready for prime time
> for many people, since it does not have a "restore" option - when
> rsyncing back to your mac it does not convert out of appledouble
> back into normal format.  this is scriptable, though, i guess.
>
> The advantage is that in theory it does not require modifications  
> to the
> linux-side rsync, since it just tells the other side it has two files,
> one for each part of the resource fork; it might even "just work"
> with backuppc.
>
> I also came across this:
>
>  http://www.lartmaker.nl/rsync/
>
> Which might be helpful but doesn't solve the problem of backuppc not
> working with apple's rsync.
>




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-devel mailing list
BackupPC-devel@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to