BackupPC-users

Re: [BackupPC-users] How does BackupPC rsync over ssh work?

2011-09-26 08:49:24
Subject: Re: [BackupPC-users] How does BackupPC rsync over ssh work?
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 26 Sep 2011 07:47:46 -0500
On Mon, Sep 26, 2011 at 3:29 AM,  <maarten AT tepaske DOT net> wrote:
>
> So I am currently writing some scripts for my backup needs. Which made
> me wonder, BackupPC essentially starts a backup like this:
>
> /usr/bin/ssh -4 -q -l backuppc <host> sudo /usr/bin/rsync --server --sender 
> --numeric-ids --perms --owner --group -D --links --hard-links --times 
> --block-size=2048 --recursive . <directory>
>
> But how does this really work? I understand rsync starts in server mode
> on the host that is to be backed up, but I don't see a rsync process
> being started on the BackupPC server.

Backuppc has it's own rsync implementation in perl so it can compare
the compressed local copy with the remote native version.

> I'm asking because I like to be able to ssh into the system (that is to
> be backed up) as a user, and start rsync via sudo.

That can be done - there should be examples on the wiki or that have
been posted to the mail list.

-- 
   Les Mikesell
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
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/