Steve Waltner
2003-07-20 10:53:02 UTC
I've seen a couple people mention getting BackupPC to backup Mac OS X,
but I've had limited success with that. Could you please outline the
steps you took to get this to run?
I've got through the OpenSSH client setup steps so "ssh 192.168.1.100
-l root pwd" will correctly login to the PowerBook (running OS X
10.2.6) and print "/private/var/root". I create a swaltner-powerbook
entry in the hosts file and then add the following to its per-PC config
file:
$Conf{XferMethod} = 'rsync';
$Conf{ClientNameAlias} = '192.168.1.100';
After starting a backup, it connects, but fails within a few seconds
logging the following messages
2003/7/17 15:14:33 full backup started for directory /
2003/7/17 15:15:46 Got fatal error during xfer (fileListReceive failed)
2003/7/17 15:15:56 Dump aborted (fileListReceive failed)
The instructions say it requires rsync 2.5.5, while OS X ships with
2.5.2, so I compiled and installed 2.5.6 into /usr/local/rsync-2.5.6,
set the RsyncClientPath config and retried getting the same results. I
did a lsof on the rsync process running on the PowerBook and found that
it was scanning files/directories before it failed. I set the
RsyncShareName to something much smaller that / to see if that worked.
By setting this to a directory with about 100 files, I could get a
backup to actually start. I also noticed during this rsync backup that
the extract process running on the server was using a whole CPU, where
the CPU usage for SMB backups is negligible.
I then tried tar and ran into a different problem. I seemed to always
get the following error in the log:
2003/7/17 16:41:39 full backup started for directory /
2003/7/17 16:41:43 Got fatal error during xfer (Tar exited with error
65280 () status)
2003/7/17 16:41:53 Dump aborted (Tar exited with error 65280 () status)
I tried upgrading to GNU tar 1.3.25, which I downloaded from
alpha.gnu.org, which has the same problem as the OS X supplied version
of tar.
One of these methods failed when it hit a 2.6 GB file on my hard drive.
I'm assuming this was the rsync method, since I don't remember getting
anything besides the 65280 error for tar. I went through the various
programs (rsync, openssh, perl on both client/server) and didn't see
anything that didn't report largfiles support.
I've tried quite a few things and can't get this figured out, so if
anyone has suggestions on what to do, I'd appreciate the help. We've
got several PowerBooks and PowerMacs that have no backup solution right
now. In fact, one of our desktop users had a hard drive failure last
week and lost some files, which is why I'm trying to get them added to
the backup rotation.
Steve
but I've had limited success with that. Could you please outline the
steps you took to get this to run?
I've got through the OpenSSH client setup steps so "ssh 192.168.1.100
-l root pwd" will correctly login to the PowerBook (running OS X
10.2.6) and print "/private/var/root". I create a swaltner-powerbook
entry in the hosts file and then add the following to its per-PC config
file:
$Conf{XferMethod} = 'rsync';
$Conf{ClientNameAlias} = '192.168.1.100';
After starting a backup, it connects, but fails within a few seconds
logging the following messages
2003/7/17 15:14:33 full backup started for directory /
2003/7/17 15:15:46 Got fatal error during xfer (fileListReceive failed)
2003/7/17 15:15:56 Dump aborted (fileListReceive failed)
The instructions say it requires rsync 2.5.5, while OS X ships with
2.5.2, so I compiled and installed 2.5.6 into /usr/local/rsync-2.5.6,
set the RsyncClientPath config and retried getting the same results. I
did a lsof on the rsync process running on the PowerBook and found that
it was scanning files/directories before it failed. I set the
RsyncShareName to something much smaller that / to see if that worked.
By setting this to a directory with about 100 files, I could get a
backup to actually start. I also noticed during this rsync backup that
the extract process running on the server was using a whole CPU, where
the CPU usage for SMB backups is negligible.
I then tried tar and ran into a different problem. I seemed to always
get the following error in the log:
2003/7/17 16:41:39 full backup started for directory /
2003/7/17 16:41:43 Got fatal error during xfer (Tar exited with error
65280 () status)
2003/7/17 16:41:53 Dump aborted (Tar exited with error 65280 () status)
I tried upgrading to GNU tar 1.3.25, which I downloaded from
alpha.gnu.org, which has the same problem as the OS X supplied version
of tar.
One of these methods failed when it hit a 2.6 GB file on my hard drive.
I'm assuming this was the rsync method, since I don't remember getting
anything besides the 65280 error for tar. I went through the various
programs (rsync, openssh, perl on both client/server) and didn't see
anything that didn't report largfiles support.
I've tried quite a few things and can't get this figured out, so if
anyone has suggestions on what to do, I'd appreciate the help. We've
got several PowerBooks and PowerMacs that have no backup solution right
now. In fact, one of our desktop users had a hard drive failure last
week and lost some files, which is why I'm trying to get them added to
the backup rotation.
Steve