BackupPC-users

Re: [BackupPC-users] automated off-site backup (via BackupPC_archiveStart or restore)

2009-08-10 16:44:08
Subject: Re: [BackupPC-users] automated off-site backup (via BackupPC_archiveStart or restore)
From: Filipe Brandenburger <filbranden AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 10 Aug 2009 16:40:46 -0400
Hi,

On Mon, Aug 10, 2009 at 16:00, Shaun Curry<scurry7 AT gmail DOT com> wrote:
> Thanks Les for this.  Does anyone have a working rsync with -H option over a
> sshfs?

You are making this harder than it has to be...

rsync supports doing a transfer over the network using SSH as a transport.

Instead of mounting the filesystem as SSHFS and then doing rsync
<local> <local>, do not mount anything and use rsync <local> <remote>,
it will use SSH by default. If you want to do that in a cron job or
something like that, you can set up SSH keys to do the authentication
without user interaction.

> I am running this command::~# rsync -avH /var/lib/backuppc /backup/pool/

Run instead:

# rsync -avH /var/lib/backuppc remote.host.domain.name:/path/to/backup/pool/

Where obviously remote.host.domain.name:/path/to/backup/pool/ is what
you have mounted under /backup/pool/ using SSHFS on your local
machine...

HTH,
Filipe

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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/