BackupPC-users

Re: [BackupPC-users] Backup to same computer

2010-01-21 09:54:53
Subject: Re: [BackupPC-users] Backup to same computer
From: Timothy Murphy <gayleard AT eircom DOT net>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 21 Jan 2010 14:52:19 +0000
Tino Schwarze wrote:

> On Thu, Jan 21, 2010 at 02:43:11AM +0000, Timothy Murphy wrote:
> 
>> What is the best way to backup a folder -
>> in fact, my mail folder /home/tim/Maildir -
>> with backuppc running on the same computer?
>> 
>> I assume that I need to allow backuppc to read this folder?
> 
> The easiest approach is
> a) install an rsyncd which allows only local connects
> b) threat your local machine just like any other server and use
> ssh/rsync with public-key authentication
> 
> Tino, using b).

Thanks for your comment.
I take it from your final remark that (a) and (b)
are alternative methods?

I tried (b), as far as I understood it, but without success.
I added my id_rsa.pub to backuppc's .ssh/authorized_keys
so that when I run as backuppc on this machine ("helen")
I can access my account with
        ssh -l tim helen .

However, when I try to backup /home/tim/Maildir/
I fail with the usual "4 bytes" failure:
-----------------------------------
2010-01-21 14:14:19 full backup started for directory /home/tim/Maildir/
2010-01-21 14:14:20 Got fatal error during xfer (Unable to read 4 bytes)
2010-01-21 14:14:25 Backup aborted (Unable to read 4 bytes)
-----------------------------------

Could you say precisely what you did to get this working, please.

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
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/