From: Matthew R. <pa...@ni...> - 2004-09-21 07:25:08
|
Okay, so here's where we're at as far as solutions: 1. SMB, Tar or rsync without resource forks. (It is an option, just not one I'm looking for!) 2. Ditto 3. RsyncX 4. hfstar 5. CpMac 6. xtar 7. hfspax Obviously there are some who pefer some methods over others to do this. Ditto is my favorate, because it apparently comes on every copy of OS X. But the question is again, how hard could it be to implement this with BackupPC? So, I poked around the config files... Please remember, I am not a programer! I made a new 'macosx.pl' config file for my server, put it in hosts, made sure the 'ssh -l root macosx' worked... $Conf{XferMethod} = 'tar'; $Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host' . ' $tarPath -c -v --rsrc $shareName+ -'; $Conf{TarClientPath} = '/usr/bin/ditto'; Using the above configuration in a tar-style setup... it should work... except backuppc doesn't see any files for backup. I think, because this is a tar command, it's expecting the output from tar's '--totals' option, but I can't be sure. I ran the command above from the command line, filling in the variables. I got a lot of garbage on the screen, so I knew I was getting somewhere... This shouldn't take much work from this point... and then we would have a working solution for MacOS X clients. If there's anything I can do... I'll gladly give it a shot. --Matt Steven Karel wrote: > I would use xtar instead of hfstar. In my experience it produces fewer > errors. You can recover all the information by untarring on another > operating system, you just have the problem of how to recombine the > data and resource forks if and when you ever try to move the files > back to a Mac and use HFS (the patched rsync discussed on this list > has similar problems) > > Get xtar from http://www.helios.de/news/news03/N_06_03.phtml > > On Sep 19, 2004, at 1:40 PM, Lorrin Nelson wrote: > >> On 9/15/2004 2:04 AM, Torsten Sadowski wrote: >> >>> There is also hfstar. I just don't know what happens, if you unpack >>> the arcive with ordinary tar. Just try. >> >> >> Has anyone tried this (or hfspax)? I haven't, but the link below >> seems to imply you can only safely untar the results onto an HFS+ >> file system (presumably using the same tool). In that case they won't >> be of much use to BackupPC. >> >> http://www.chemistry.ucsc.edu/~wgscott/xtal/backup_X_and_fink.html >> >> |