BackupPC-users

Re: [BackupPC-users] Transfert BackupPC to an other machine (How ?)

2008-05-08 08:36:45
Subject: Re: [BackupPC-users] Transfert BackupPC to an other machine (How ?)
From: Sam Przyswa <samp AT arial-concept DOT com>
To: Tino Schwarze <backuppc.lists AT tisc DOT de>
Date: Thu, 08 May 2008 14:35:50 +0200
Le jeudi 08 mai 2008 à 11:37 +0200, Tino Schwarze a écrit :
> On Wed, May 07, 2008 at 11:11:12PM +0200, Sam Przyswa wrote:
> 
> > > > We have to change our BackupPC server to a new machine, how to copy the
> > > > entire BackupPC directory (120Gb) to an other machine ?
> > > > 
> > > > I tried rsync, it crash after a long, long time, I tried scp but it
> > > > don't pass the link and the dest directory become out of size after
> > > > transferring about 50% of files...
> > > > 
> > > > What is the right way to transfert a BackupPC with 120Gb of files ?
> > > 
> > > An often suggested method is using dd and growing the filesystem 
> > > afterwards. This will probably be a lot faster as dd doesn't need to 
> > > know anything about the file structure and things like hardlinks.
> > 
> > Yes but the the machines are on Internet not on your office, we have to
> > do that over the net. I never do a dd over ssh !?
> 
> It would work like this:
> 
> oldserver# dd if=/dev/backuppc-filesystem bs=1M | ssh -c blowfish -C -o 
> CompressionLevel=9 newserver "dd of=/de/newfilesystem bs=1M"

Why set option bs=1M ?

> (Of course, the filesystem has to be unmounted.) Later, you resize the
> file system to it's desired size, e.g. resize2fs /dev/newfilesystem
> Depending on the network connection between your servers, you might want
> to skip the compression (-C and -o).

I am doing that between 2 LVM mounted filesystem and it's seems work,
the transfert is in progress. I skipped compression I think that the
backuppc files are already compressed, no ?

So, thanks for your help I will tell you more after some hours...

Sam.




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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/