On Sep 21, 2005, at 8:41 AM, Olivier LAHAYE wrote:
For those who wonder if it works I can answer yes (not a surpise
though as Mac
OS X is a true UNIX).
The config is:
$Conf{XferMethod} = 'tar';
$Conf{TarClientPath} = '/usr/bin/tar';
# home dirs are in /Users
$Conf{TarShareName} = '/Users';
$Conf{BackupFilesExclude} = ['*/Movies/*', '*/Music/*', '*/Public/*',
'*/Sites/*'];
Just add the correct ssh key to the root user authorized_keys on
the mac and
go for it :-) (don't forget to unable and secure the root account,
and force
ssh protocol to V2)
I havent tested with rsync.
BTW, while it works fine with Mac OS X 10.3, I have troubles with
Mac OS X
10.4. The mac freezes after a few giga of transfer. Of course
BackupPC has
nothing to do in this freeze, but I wonder if anybody else has
experienced
such freezes with Tigers when having high activity (cpu or network
I don't
know).
I'm backing up about a dozen 10.4.2 machines without issue. I think
these are the relevant settings from my config.pl (macs are the
default in my office; *NIX servers get their own .pl). They don't
really differ materially from yours:
$Conf{TarShareName} = '/Users';
$Conf{BackupFilesOnly} = undef;
$Conf{BackupFilesExclude} = undef;
$Conf{XferMethod} = 'tar';
$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host'
. ' $tarPath -c -v -f - -C $shareName+'
. ' --totals';
$Conf{TarFullArgs} = '$fileList+';
$Conf{TarIncrArgs} = '--newer=$incrDate+ $fileList+';
$Conf{TarClientPath} = '/usr/bin/tar';
Most of the machines being backed up are low end; single or dual G4
450s with 256-512MB of RAM. The backuppc machine is also very low end
as it was a "proof-of-concept" machine prior to ordering more
appropriate hardware: P3 500, 512MB RAM, 400G SATA disk, FreeBSD 5.4.
I believe you need to use xtar with 10.3 to get resource forks backed
up. 10.4's tar handles that natively. The file system for 10.4 is
quite a bit different. SSH is also newer, which might be an avenue to
pursue. Can you transfer a big tar file between your backuppc machine
and a 10.4 mac via ssh by hand?
HTH,
Tony Del Porto
SysAdmin
USENIX Association
2560 9th Street, Suite 215, Berkeley CA 94710
510 528 8649 x16 desk
[EMAIL PROTECTED] | www.usenix.org | www.sage.org
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/