BackupPC-users

Re: [BackupPC-users] specifying differerent user in RsyncClientCmd

2011-01-17 10:59:00
Subject: Re: [BackupPC-users] specifying differerent user in RsyncClientCmd
From: Bowie Bailey <Bowie_Bailey AT BUC DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 17 Jan 2011 10:56:31 -0500
On 1/17/2011 12:18 AM, itismike wrote:
> I'm running an Ubuntu client with ecryptFS enabled. Since my home directory 
> is encrypted, I'd like to perform the backup as myself rather than root so 
> the files are browsable by me and restore is possible. Here is another thread 
> (http://ubuntuforums.org/showpost.php?p=10082444&postcount=4) that explains 
> the reason for this setup.
>
> So my intent is to put my username in the RsyncClientCmd and 
> RsyncClientRestoreCmd commands like this:
> $sshPath -q -x -l michael $host $rsyncPath $argList+
>
> The problem is I haven't been able to get past the message below:
> 2011-01-16 14:03:16 full backup started for directory /
> 2011-01-16 14:03:17 Got fatal error during xfer (Unable to read 4 bytes)
> 2011-01-16 14:03:22 Backup aborted (Unable to read 4 bytes)
>
> Google tells me this points to an inability to ssh to the box, but I set up 
> ssh-keygen and can establish passwordless ssh connections between the server 
> and client (and vice-versa.)
>
> Am I going about this whole solution backwards, or if not, how can I diagnose 
> this a little better?

Are you testing as the backuppc user?  Make sure you can establish a
passwordless connection from the backuppc user on the server to your client.

-- 
Bowie

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
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/