BackupPC-users

Re: [BackupPC-users] Don't use rsync -H!! (was Re: copying the pool to a new filesystem?!)

2010-12-07 19:57:26
Subject: Re: [BackupPC-users] Don't use rsync -H!! (was Re: copying the pool to a new filesystem?!)
From: Dale King <dale AT daleking DOT org>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 8 Dec 2010 11:54:13 +1100
On Tue, Dec 07, 2010 at 12:38:00AM -0800, Robin Lee Powell wrote:
> On Tue, Dec 07, 2010 at 07:58:05AM +0000, Tyler J. Wagner wrote:
> > On Mon, 2010-12-06 at 10:51 -0800, Robin Lee Powell wrote:
> > > IME it's *much* faster that way; you do BackupPC_TarPCCopy, and
> > > then rsync the cpoll *without -H*.  It shouldn't take any longer
> > > than the actual data transfer time itself.
> > 
> > So, if you wanted to copy the entire /var/lib/backuppc directory
> > to another filesystem, what commands would you use, for example?
> 
> sudo -u backuppc /usr/share/backuppc/bin/BackupPC_tarPCCopy 
> /var/lib/backuppc/pc | ssh $host 'cat >/tmp/pc.tar'
> rsync -aPv /var/lib/backuppc/cpool $host:/var/lib/backuppc/
> ssh $host 'tar -C /var/lib/backuppc/ -xvf /tmp/pc.tar'

I assume you could skip the immediate tar file step (untested):

  rsync -aPv /var/lib/backuppc/cpool $host:/var/lib/backuppc/
  sudo -u backuppc /usr/share/backuppc/bin/BackupPC_tarPCCopy 
/var/lib/backuppc/pc |\
     ssh $host 'tar -C /var/lib/backuppc/ -xvf -)'


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>