BackupPC-users

Re: [BackupPC-users] I've Tried Everything

2012-02-16 15:26:26
Subject: Re: [BackupPC-users] I've Tried Everything
From: Tim Fletcher <tim AT night-shade.org DOT uk>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 16 Feb 2012 17:52:14 +0000
On Thu, 2012-02-16 at 09:59 -0500, Zach Lanich wrote:
> After using the # cat /var/lib/backuppc/.ssh/Config
> StrictHostKeyChecking on, im now getting:
> 
> Running: /usr/bin/ssh -q -x -n -l root zachs-macbook-pro env LC_ALL=C 
> /usr/bin/tar -c -v -f - -C /Users/zlanich/Sites --totals .
> full backup started for directory /Users/zlanich/Sites
> Xfer PIDs are now 29485,29484
> Tar exited with error 65280 () status
> tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
> filesTotal, 0 sizeTotal
> Got fatal error during xfer (Tar exited with error 65280 () status)
> Backup aborted (lost network connection during backup)
> Not saving this as a partial backup since it has fewer files than the prior 
> one (got 0 and 0 files versus 35249)
> 
> Using Tar. I have a Quick network with Gigabit and Wireless N. I'm
> dumfounded as to how it could be having network issues midbackup

OK so, quick google of "Tar exited with error 65280" strongly suggests
it's a login problem so I have a little test for you:

I'm not clear what version of linux you are using on the backuppc server
but this should work on most versions of linux, pull up a terminal
window and type the following:

sudo -s -H -u backuppc 

this opens a shell up as the backuppc user, next run this command:

/usr/bin/ssh -l root zachs-macbook-pro

you should see a new shell open up on your Macbook pro without asking
any questions or for any passwords, however I don't think you will for
one of 3 reasons:

1. You haven't enabled the root user on the mac, as it's disabled by
default.

2. You haven't put the right name in, if you are using bonjour (aka
mDNS) then you need to put the name in as zachs-macbook-pro.local
the .local is important.

3. You haven't got your ssh keys setup correctly.

-- 
Tim Fletcher <tim AT night-shade.org DOT uk>


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/